]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - support/docker/production/.env
Encrypt OTP secret
[github/Chocobozzz/PeerTube.git] / support / docker / production / .env
CommitLineData
148ab2f0 1# Database / Postgres service configuration
e962e1c3
K
2POSTGRES_USER=<MY POSTGRES USERNAME>
3POSTGRES_PASSWORD=<MY POSTGRES PASSWORD>
148ab2f0
K
4# Postgres database name "peertube"
5POSTGRES_DB=peertube
6# Editable only with a suffix :
7#POSTGRES_DB=peertube_prod
8#PEERTUBE_DB_SUFFIX=_prod
e962e1c3
K
9PEERTUBE_DB_USERNAME=<MY POSTGRES USERNAME>
10PEERTUBE_DB_PASSWORD=<MY POSTGRES PASSWORD>
78c5e310 11PEERTUBE_DB_SSL=false
148ab2f0 12# Default to Postgres service name "postgres" in docker-compose.yml
e2882b2c 13PEERTUBE_DB_HOSTNAME=postgres
148ab2f0 14
b1053a30
C
15# PeerTube server configuration
16# If you test PeerTube in local: use "peertube.localhost" and add this domain to your host file resolving on 127.0.0.1
e962e1c3 17PEERTUBE_WEBSERVER_HOSTNAME=<MY DOMAIN>
b1053a30
C
18# If you just want to test PeerTube on local
19#PEERTUBE_WEBSERVER_PORT=9000
148ab2f0 20#PEERTUBE_WEBSERVER_HTTPS=false
eff7cdd7
L
21# If you need more than one IP as trust_proxy
22# pass them as a comma separated array:
1bab2bbc 23PEERTUBE_TRUST_PROXY=["127.0.0.1", "loopback", "172.18.0.0/16"]
148ab2f0
K
24
25# E-mail configuration
26# If you use a Custom SMTP server
b427febb
FA
27#PEERTUBE_SMTP_USERNAME=
28#PEERTUBE_SMTP_PASSWORD=
148ab2f0
K
29# Default to Postfix service name "postfix" in docker-compose.yml
30# May be the hostname of your Custom SMTP server
fef13f14 31PEERTUBE_SMTP_HOSTNAME=postfix
f83e339b 32PEERTUBE_SMTP_PORT=25
e962e1c3 33PEERTUBE_SMTP_FROM=noreply@<MY DOMAIN>
b427febb 34PEERTUBE_SMTP_TLS=false
0892f756 35PEERTUBE_SMTP_DISABLE_STARTTLS=false
e962e1c3 36PEERTUBE_ADMIN_EMAIL=<MY EMAIL ADDRESS>
148ab2f0
K
37
38# Postfix service configuration
e962e1c3 39POSTFIX_myhostname=<MY DOMAIN>
cd7ec86f 40# If you need to generate a list of sub/DOMAIN keys
41# pass them as a whitespace separated string <DOMAIN>=<selector>
42OPENDKIM_DOMAINS=<MY DOMAIN>=peertube
0283fe98
K
43# see https://github.com/wader/postfix-relay/pull/18
44OPENDKIM_RequireSafeKeys=no
148ab2f0 45
632f9815 46# /!\ Prefer to use the PeerTube admin interface to set the following configurations /!\
d4d5853e
C
47#PEERTUBE_SIGNUP_ENABLED=true
48#PEERTUBE_TRANSCODING_ENABLED=true
a4101923 49#PEERTUBE_CONTACT_FORM_ENABLED=true