4 repository: tootsuite/mastodon
5 # https://hub.docker.com/r/tootsuite/mastodon/tags
7 # alternatively, use `latest` for the latest release or `edge` for the image
8 # built from the most recent commit
12 # use `Always` when using `latest` tag
13 pullPolicy: IfNotPresent
16 # create an initial administrator user; the password is autogenerated and will
21 email: not@example.com
23 # run `tootctl media remove` every week
27 # available locales: https://github.com/tootsuite/mastodon/blob/master/config/application.rb#L43
29 local_domain: mastodon.local
32 # ReadWriteOnce is more widely supported than ReadWriteMany, but limits
33 # scalability, since it requires the Rails and Sidekiq pods to run on the
35 accessMode: ReadWriteOnce
40 accessMode: ReadWriteOnce
44 # these must be set manually; autogenerated keys are rotated on each upgrade
58 enable_starttls_auto: true
59 from_address: notifications@example.com
61 openssl_verify_mode: peer
65 server: smtp.mailgun.org
69 # this should be set manually since os.cpus() returns the number of CPUs on
70 # the node running the pod, which is unrelated to the resources allocated to
79 kubernetes.io/ingress.class: nginx
80 kubernetes.io/tls-acme: "true"
81 # cert-manager.io/cluster-issuer: "letsencrypt"
83 # ensure that NGINX's upload size matches Mastodon's
84 # for the K8s ingress controller:
85 # nginx.ingress.kubernetes.io/proxy-body-size: 40m
86 # for the NGINX ingress controller:
87 # nginx.org/client-max-body-size: 40m
89 - host: mastodon.local
93 - secretName: mastodon-tls
97 # https://github.com/bitnami/charts/tree/master/bitnami/elasticsearch#parameters
99 # `false` will disable full-text search
101 # if you enable ES after the initial install, you will need to manually run
102 # RAILS_ENV=production bundle exec rake chewy:sync
103 # (https://docs.joinmastodon.org/admin/optional/elasticsearch/)
105 # may be removed once https://github.com/tootsuite/mastodon/pull/13828 is part
106 # of a tagged release
110 # https://github.com/bitnami/charts/tree/master/bitnami/postgresql#parameters
112 # disable if you want to use an existing db; in which case the values below
113 # must match those of that external postgres instance
115 # postgresqlHostname: preexisting-postgresql
116 postgresqlDatabase: mastodon_production
117 # you must set a password; the password generated by the postgresql chart will
118 # be rotated on each upgrade:
119 # https://github.com/bitnami/charts/tree/master/bitnami/postgresql#upgrade
120 postgresqlPassword: ""
121 postgresqlUsername: postgres
123 # https://github.com/bitnami/charts/tree/master/bitnami/redis#parameters
125 # you must set a password; the password generated by the redis chart will be
126 # rotated on each upgrade:
133 # https://github.com/tootsuite/mastodon/blob/master/Dockerfile#L88
135 # if you manually change the UID/GID environment variables, ensure these values
145 # Specifies whether a service account should be created
147 # Annotations to add to the service account
149 # The name of the service account to use.
150 # If not set and create is true, a name is generated using the fullname template
156 # We usually recommend not to specify default resources and to leave this as a conscious
157 # choice for the user. This also increases chances charts run on environments with little
158 # resources, such as Minikube. If you do want to specify resources, uncomment the following
159 # lines, adjust them as necessary, and remove the curly braces after 'resources:'.
171 targetCPUUtilizationPercentage: 80
172 # targetMemoryUtilizationPercentage: 80