]> cat aescling's git repositories - mastodon.git/blob - .env.nanobox
Add support for muting notifications in MuteService
[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 # Federation
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
20 LOCAL_HTTPS=false
21
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
26
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
31
32 # Application secrets
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
37
38 # Registrations
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
45
46 # Optionally change default language
47 # DEFAULT_LOCALE=de
48
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
55 SMTP_PORT=587
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
65
66
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
70
71 # Optional asset host for multi-server setups
72 # CDN_HOST=https://assets.example.com
73
74 # S3 (optional)
75 # S3_ENABLED=true
76 # S3_BUCKET=
77 # AWS_ACCESS_KEY_ID=
78 # AWS_SECRET_ACCESS_KEY=
79 # S3_REGION=
80 # S3_PROTOCOL=http
81 # S3_HOSTNAME=192.168.1.123:9000
82
83 # S3 (Minio Config (optional) Please check Minio instance for details)
84 # S3_ENABLED=true
85 # S3_BUCKET=
86 # AWS_ACCESS_KEY_ID=
87 # AWS_SECRET_ACCESS_KEY=
88 # S3_REGION=
89 # S3_PROTOCOL=https
90 # S3_HOSTNAME=
91 # S3_ENDPOINT=
92 # S3_SIGNATURE_VERSION=
93
94 # Optional alias for S3 if you want to use Cloudfront or Cloudflare in front
95 # S3_CLOUDFRONT_HOST=
96
97 # Streaming API integration
98 # STREAMING_API_BASE_URL=
99
100 # Advanced settings
101 # If you need to use pgBouncer, you need to disable prepared statements:
102 # PREPARED_STATEMENTS=false
103
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
107
108 # Docker mastodon user
109 # If you use Docker, you may want to assign UID/GID manually.
110 # UID=1000
111 # GID=1000
This page took 0.077289 seconds and 4 git commands to generate.