]> cat aescling's git repositories - mastodon.git/blob - .env.nanobox
change "finish tutorial" text to "finish toot-orial" (#9905)
[mastodon.git] / .env.nanobox
1 # Service dependencies
2 # You may set REDIS_URL instead for more advanced options
3 REDIS_HOST=$DATA_REDIS_HOST
4 REDIS_PORT=6379
5 # REDIS_DB=0
6
7 # You may set DATABASE_URL instead for more advanced options
8 DB_HOST=$DATA_DB_HOST
9 DB_USER=$DATA_DB_USER
10 DB_NAME=gonano
11 DB_PASS=$DATA_DB_PASS
12 DB_PORT=5432
13
14 DATABASE_URL=postgresql://$DATA_DB_USER:$DATA_DB_PASS@$DATA_DB_HOST/gonano
15
16 # Optional ElasticSearch configuration
17 ES_ENABLED=true
18 ES_HOST=$DATA_ELASTIC_HOST
19 ES_PORT=9200
20
21 # Optimizations
22 LD_PRELOAD=/data/lib/libjemalloc.so
23
24 # ImageMagick optimizations
25 MAGICK_TEMPORARY_PATH=/app/tmp
26 MAGICK_MEMORY_LIMIT=128MiB
27 MAGICK_MAP_LIMIT=64MiB
28 MAGICK_TIME_LIMIT=15
29 MAGICK_AREA_LIMIT=16MP
30 MAGICK_WIDTH_LIMIT=8KP
31 MAGICK_HEIGHT_LIMIT=8KP
32
33 # Federation
34 # Note: Changing LOCAL_DOMAIN at a later time will cause unwanted side effects, including breaking all existing federation.
35 # LOCAL_DOMAIN should *NOT* contain the protocol part of the domain e.g https://example.com.
36 LOCAL_DOMAIN=${APP_NAME}.nanoapp.io
37
38 # Changing LOCAL_HTTPS in production is no longer supported. (Mastodon will always serve https:// links)
39
40 # Use this only if you need to run mastodon on a different domain than the one used for federation.
41 # You can read more about this option on https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Serving_a_different_domain.md
42 # DO *NOT* USE THIS UNLESS YOU KNOW *EXACTLY* WHAT YOU ARE DOING.
43 # WEB_DOMAIN=mastodon.example.com
44
45 # Use this if you want to have several aliases handler@example1.com
46 # handler@example2.com etc. for the same user. LOCAL_DOMAIN should not
47 # be added. Comma separated values
48 # ALTERNATE_DOMAINS=example1.com,example2.com
49
50 # Application secrets
51 # Generate each with the `rake secret` task (`nanobox run bundle exec rake secret`)
52 SECRET_KEY_BASE=$SECRET_KEY_BASE
53 OTP_SECRET=$OTP_SECRET
54
55 # VAPID keys (used for push notifications)
56 # You can generate the keys using the following command (first is the private key, second is the public one)
57 # You should only generate this once per instance. If you later decide to change it, all push subscription will
58 # be invalidated, requiring the users to access the website again to resubscribe.
59 #
60 # Generate with `rake mastodon:webpush:generate_vapid_key` task (`nanobox run bundle exec rake mastodon:webpush:generate_vapid_key`)
61 #
62 # For more information visit https://rossta.net/blog/using-the-web-push-api-with-vapid.html
63 VAPID_PRIVATE_KEY=$VAPID_PRIVATE_KEY
64 VAPID_PUBLIC_KEY=$VAPID_PUBLIC_KEY
65
66 # Registrations
67 # Single user mode will disable registrations and redirect frontpage to the first profile
68 # SINGLE_USER_MODE=true
69 # Prevent registrations with following e-mail domains
70 # EMAIL_DOMAIN_BLACKLIST=example1.com|example2.de|etc
71 # Only allow registrations with the following e-mail domains
72 # EMAIL_DOMAIN_WHITELIST=example1.com|example2.de|etc
73
74 # Optionally change default language
75 # DEFAULT_LOCALE=de
76
77 # E-mail configuration
78 # Note: Mailgun and SparkPost (https://sparkpo.st/smtp) each have good free tiers
79 # If you want to use an SMTP server without authentication (e.g local Postfix relay)
80 # then set SMTP_AUTH_METHOD and SMTP_OPENSSL_VERIFY_MODE to 'none' and
81 # *comment* SMTP_LOGIN and SMTP_PASSWORD (leaving them blank is not enough).
82 SMTP_SERVER=$SMTP_SERVER
83 SMTP_PORT=587
84 SMTP_LOGIN=$SMTP_LOGIN
85 SMTP_PASSWORD=$SMTP_PASSWORD
86 SMTP_FROM_ADDRESS=notifications@${APP_NAME}.nanoapp.io
87 #SMTP_DOMAIN= # defaults to LOCAL_DOMAIN
88 #SMTP_DELIVERY_METHOD=smtp # delivery method can also be sendmail
89 #SMTP_AUTH_METHOD=plain
90 #SMTP_CA_FILE=/etc/ssl/certs/ca-certificates.crt
91 #SMTP_OPENSSL_VERIFY_MODE=peer
92 #SMTP_ENABLE_STARTTLS_AUTO=true
93 #SMTP_TLS=true
94
95 # Optional user upload path and URL (images, avatars). Default is :rails_root/public/system. If you set this variable, you are responsible for making your HTTP server (eg. nginx) serve these files.
96 # PAPERCLIP_ROOT_PATH=/var/lib/mastodon/public-system
97 # PAPERCLIP_ROOT_URL=/system
98
99 # Optional asset host for multi-server setups
100 # CDN_HOST=https://assets.example.com
101
102 # S3 (optional)
103 # S3_ENABLED=true
104 # S3_BUCKET=
105 # AWS_ACCESS_KEY_ID=
106 # AWS_SECRET_ACCESS_KEY=
107 # S3_REGION=
108 # S3_PROTOCOL=http
109 # S3_HOSTNAME=192.168.1.123:9000
110
111 # S3 (Minio Config (optional) Please check Minio instance for details)
112 # S3_ENABLED=true
113 # S3_BUCKET=
114 # AWS_ACCESS_KEY_ID=
115 # AWS_SECRET_ACCESS_KEY=
116 # S3_REGION=
117 # S3_PROTOCOL=https
118 # S3_HOSTNAME=
119 # S3_ENDPOINT=
120 # S3_SIGNATURE_VERSION=
121
122 # Swift (optional)
123 # SWIFT_ENABLED=true
124 # SWIFT_USERNAME=
125 # For Keystone V3, the value for SWIFT_TENANT should be the project name
126 # SWIFT_TENANT=
127 # SWIFT_PASSWORD=
128 # Keystone V2 and V3 URLs are supported. Use a V3 URL if possible to avoid
129 # issues with token rate-limiting during high load.
130 # SWIFT_AUTH_URL=
131 # SWIFT_CONTAINER=
132 # SWIFT_OBJECT_URL=
133 # SWIFT_REGION=
134 # Defaults to 'default'
135 # SWIFT_DOMAIN_NAME=
136 # Defaults to 60 seconds. Set to 0 to disable
137 # SWIFT_CACHE_TTL=
138
139 # Optional alias for S3 (e.g. to serve files on a custom domain, possibly using Cloudfront or Cloudflare)
140 # S3_ALIAS_HOST=
141
142 # Streaming API integration
143 # STREAMING_API_BASE_URL=
144
145 # Advanced settings
146 # If you need to use pgBouncer, you need to disable prepared statements:
147 # PREPARED_STATEMENTS=false
148
149 # Cluster number setting for streaming API server.
150 # If you comment out following line, cluster number will be `numOfCpuCores - 1`.
151 # STREAMING_CLUSTER_NUM=1
152
153 # Docker mastodon user
154 # If you use Docker, you may want to assign UID/GID manually.
155 # UID=1000
156 # GID=1000
157
158 # LDAP authentication (optional)
159 # LDAP_ENABLED=true
160 # LDAP_HOST=localhost
161 # LDAP_PORT=389
162 # LDAP_METHOD=simple_tls
163 # LDAP_BASE=
164 # LDAP_BIND_DN=
165 # LDAP_PASSWORD=
166 # LDAP_UID=cn
167
168 # PAM authentication (optional)
169 # PAM authentication uses for the email generation the "email" pam variable
170 # and optional as fallback PAM_DEFAULT_SUFFIX
171 # The pam environment variable "email" is provided by:
172 # https://github.com/devkral/pam_email_extractor
173 # PAM_ENABLED=true
174 # Fallback Suffix for email address generation (nil by default)
175 # PAM_DEFAULT_SUFFIX=pam
176 # Name of the pam service (pam "auth" section is evaluated)
177 # PAM_DEFAULT_SERVICE=rpam
178 # Name of the pam service used for checking if an user can register (pam "account" section is evaluated) (nil (disabled) by default)
179 # PAM_CONTROLLED_SERVICE=rpam
180
181 # Global OAuth settings (optional) :
182 # If you have only one strategy, you may want to enable this
183 # OAUTH_REDIRECT_AT_SIGN_IN=true
184
185 # Optional CAS authentication (cf. omniauth-cas) :
186 # CAS_ENABLED=true
187 # CAS_URL=https://sso.myserver.com/
188 # CAS_HOST=sso.myserver.com/
189 # CAS_PORT=443
190 # CAS_SSL=true
191 # CAS_VALIDATE_URL=
192 # CAS_CALLBACK_URL=
193 # CAS_LOGOUT_URL=
194 # CAS_LOGIN_URL=
195 # CAS_UID_FIELD='user'
196 # CAS_CA_PATH=
197 # CAS_DISABLE_SSL_VERIFICATION=false
198 # CAS_UID_KEY='user'
199 # CAS_NAME_KEY='name'
200 # CAS_EMAIL_KEY='email'
201 # CAS_NICKNAME_KEY='nickname'
202 # CAS_FIRST_NAME_KEY='firstname'
203 # CAS_LAST_NAME_KEY='lastname'
204 # CAS_LOCATION_KEY='location'
205 # CAS_IMAGE_KEY='image'
206 # CAS_PHONE_KEY='phone'
207
208 # Optional SAML authentication (cf. omniauth-saml)
209 # SAML_ENABLED=true
210 # SAML_ACS_URL=
211 # SAML_ISSUER=http://localhost:3000/auth/auth/saml/callback
212 # SAML_IDP_SSO_TARGET_URL=https://idp.testshib.org/idp/profile/SAML2/Redirect/SSO
213 # SAML_IDP_CERT=
214 # SAML_IDP_CERT_FINGERPRINT=
215 # SAML_NAME_IDENTIFIER_FORMAT=
216 # SAML_CERT=
217 # SAML_PRIVATE_KEY=
218 # SAML_SECURITY_WANT_ASSERTION_SIGNED=true
219 # SAML_SECURITY_WANT_ASSERTION_ENCRYPTED=true
220 # SAML_SECURITY_ASSUME_EMAIL_IS_VERIFIED=true
221 # SAML_ATTRIBUTES_STATEMENTS_UID="urn:oid:0.9.2342.19200300.100.1.1"
222 # SAML_ATTRIBUTES_STATEMENTS_EMAIL="urn:oid:1.3.6.1.4.1.5923.1.1.1.6"
223 # SAML_ATTRIBUTES_STATEMENTS_FULL_NAME="urn:oid:2.5.4.42"
224 # SAML_UID_ATTRIBUTE="urn:oid:0.9.2342.19200300.100.1.1"
225 # SAML_ATTRIBUTES_STATEMENTS_VERIFIED=
226 # SAML_ATTRIBUTES_STATEMENTS_VERIFIED_EMAIL=
This page took 0.08549 seconds and 4 git commands to generate.