]>
Commit | Line | Data |
---|---|---|
148ab2f0 | 1 | # Database / Postgres service configuration |
e962e1c3 K |
2 | POSTGRES_USER=<MY POSTGRES USERNAME> |
3 | POSTGRES_PASSWORD=<MY POSTGRES PASSWORD> | |
148ab2f0 K |
4 | # Postgres database name "peertube" |
5 | POSTGRES_DB=peertube | |
3458e8ba JG |
6 | # The database name used by PeerTube will be PEERTUBE_DB_NAME (only if set) *OR* 'peertube'+PEERTUBE_DB_SUFFIX |
7 | #PEERTUBE_DB_NAME=<MY POSTGRES DB NAME> | |
148ab2f0 | 8 | #PEERTUBE_DB_SUFFIX=_prod |
3458e8ba JG |
9 | # Database username and password used by PeerTube must match Postgres', so they are copied: |
10 | PEERTUBE_DB_USERNAME=$POSTGRES_USER | |
11 | PEERTUBE_DB_PASSWORD=$POSTGRES_PASSWORD | |
78c5e310 | 12 | PEERTUBE_DB_SSL=false |
148ab2f0 | 13 | # Default to Postgres service name "postgres" in docker-compose.yml |
e2882b2c | 14 | PEERTUBE_DB_HOSTNAME=postgres |
148ab2f0 | 15 | |
b1053a30 C |
16 | # PeerTube server configuration |
17 | # If you test PeerTube in local: use "peertube.localhost" and add this domain to your host file resolving on 127.0.0.1 | |
e962e1c3 | 18 | PEERTUBE_WEBSERVER_HOSTNAME=<MY DOMAIN> |
b1053a30 C |
19 | # If you just want to test PeerTube on local |
20 | #PEERTUBE_WEBSERVER_PORT=9000 | |
148ab2f0 | 21 | #PEERTUBE_WEBSERVER_HTTPS=false |
eff7cdd7 L |
22 | # If you need more than one IP as trust_proxy |
23 | # pass them as a comma separated array: | |
1bab2bbc | 24 | PEERTUBE_TRUST_PROXY=["127.0.0.1", "loopback", "172.18.0.0/16"] |
148ab2f0 | 25 | |
1ea868a9 C |
26 | # Generate one using `openssl rand -hex 32` |
27 | PEERTUBE_SECRET=<MY PEERTUBE SECRET> | |
28 | ||
148ab2f0 K |
29 | # E-mail configuration |
30 | # If you use a Custom SMTP server | |
b427febb FA |
31 | #PEERTUBE_SMTP_USERNAME= |
32 | #PEERTUBE_SMTP_PASSWORD= | |
148ab2f0 K |
33 | # Default to Postfix service name "postfix" in docker-compose.yml |
34 | # May be the hostname of your Custom SMTP server | |
fef13f14 | 35 | PEERTUBE_SMTP_HOSTNAME=postfix |
f83e339b | 36 | PEERTUBE_SMTP_PORT=25 |
e962e1c3 | 37 | PEERTUBE_SMTP_FROM=noreply@<MY DOMAIN> |
b427febb | 38 | PEERTUBE_SMTP_TLS=false |
0892f756 | 39 | PEERTUBE_SMTP_DISABLE_STARTTLS=false |
e962e1c3 | 40 | PEERTUBE_ADMIN_EMAIL=<MY EMAIL ADDRESS> |
148ab2f0 K |
41 | |
42 | # Postfix service configuration | |
e962e1c3 | 43 | POSTFIX_myhostname=<MY DOMAIN> |
cd7ec86f | 44 | # If you need to generate a list of sub/DOMAIN keys |
45 | # pass them as a whitespace separated string <DOMAIN>=<selector> | |
46 | OPENDKIM_DOMAINS=<MY DOMAIN>=peertube | |
0283fe98 K |
47 | # see https://github.com/wader/postfix-relay/pull/18 |
48 | OPENDKIM_RequireSafeKeys=no | |
148ab2f0 | 49 | |
632f9815 | 50 | # /!\ Prefer to use the PeerTube admin interface to set the following configurations /!\ |
d4d5853e C |
51 | #PEERTUBE_SIGNUP_ENABLED=true |
52 | #PEERTUBE_TRANSCODING_ENABLED=true | |
a4101923 | 53 | #PEERTUBE_CONTACT_FORM_ENABLED=true |