2 # You may set REDIS_URL instead for more advanced options
3 REDIS_HOST=$DATA_REDIS_HOST
7 # You may set DATABASE_URL instead for more advanced options
14 DATABASE_URL=postgresql://$DATA_DB_USER:$DATA_DB_PASS@$DATA_DB_HOST/gonano
17 # Note: Changing LOCAL_DOMAIN or LOCAL_HTTPS at a later time will cause unwanted side effects.
18 # LOCAL_DOMAIN should *NOT* contain the protocol part of the domain e.g https://example.com.
19 LOCAL_DOMAIN=${APP_NAME}.nanoapp.io
22 # Use this only if you need to run mastodon on a different domain than the one used for federation.
23 # You can read more about this option on https://github.com/tootsuite/documentation/blob/master/Running-Mastodon/Serving_a_different_domain.md
24 # DO *NOT* USE THIS UNLESS YOU KNOW *EXACTLY* WHAT YOU ARE DOING.
25 # WEB_DOMAIN=mastodon.example.com
27 # Use this if you want to have several aliases handler@example1.com
28 # handler@example2.com etc. for the same user. LOCAL_DOMAIN should not
29 # be added. Comma separated values
30 # ALTERNATE_DOMAINS=example1.com,example2.com
33 # Generate each with the `rake secret` task (`nanobox run bundle exec rake secret`)
34 PAPERCLIP_SECRET=$PAPERCLIP_SECRET
35 SECRET_KEY_BASE=$SECRET_KEY_BASE
36 OTP_SECRET=$OTP_SECRET
39 # Single user mode will disable registrations and redirect frontpage to the first profile
40 # SINGLE_USER_MODE=true
41 # Prevent registrations with following e-mail domains
42 # EMAIL_DOMAIN_BLACKLIST=example1.com|example2.de|etc
43 # Only allow registrations with the following e-mail domains
44 # EMAIL_DOMAIN_WHITELIST=example1.com|example2.de|etc
46 # Optionally change default language
49 # E-mail configuration
50 # Note: Mailgun and SparkPost (https://sparkpo.st/smtp) each have good free tiers
51 # If you want to use an SMTP server without authentication (e.g local Postfix relay)
52 # then set SMTP_AUTH_METHOD and SMTP_OPENSSL_VERIFY_MODE to 'none' and
53 # *comment* SMTP_LOGIN and SMTP_PASSWORD (leaving them blank is not enough).
54 SMTP_SERVER=$SMTP_SERVER
56 SMTP_LOGIN=$SMTP_LOGIN
57 SMTP_PASSWORD=$SMTP_PASSWORD
58 SMTP_FROM_ADDRESS=notifications@${APP_NAME}.nanoapp.io
59 #SMTP_DOMAIN= # defaults to LOCAL_DOMAIN
60 #SMTP_DELIVERY_METHOD=smtp # delivery method can also be sendmail
61 #SMTP_AUTH_METHOD=plain
62 #SMTP_CA_FILE=/etc/ssl/certs/ca-certificates.crt
63 #SMTP_OPENSSL_VERIFY_MODE=peer
64 #SMTP_ENABLE_STARTTLS_AUTO=true
67 # 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.
68 # PAPERCLIP_ROOT_PATH=/var/lib/mastodon/public-system
69 # PAPERCLIP_ROOT_URL=/system
71 # Optional asset host for multi-server setups
72 # CDN_HOST=https://assets.example.com
78 # AWS_SECRET_ACCESS_KEY=
81 # S3_HOSTNAME=192.168.1.123:9000
83 # S3 (Minio Config (optional) Please check Minio instance for details)
87 # AWS_SECRET_ACCESS_KEY=
92 # S3_SIGNATURE_VERSION=
94 # Optional alias for S3 if you want to use Cloudfront or Cloudflare in front
97 # Streaming API integration
98 # STREAMING_API_BASE_URL=
101 # If you need to use pgBouncer, you need to disable prepared statements:
102 # PREPARED_STATEMENTS=false
104 # Cluster number setting for streaming API server.
105 # If you comment out following line, cluster number will be `numOfCpuCores - 1`.
106 STREAMING_CLUSTER_NUM=1
108 # Docker mastodon user
109 # If you use Docker, you may want to assign UID/GID manually.