fix opendkim permissions in docker-compose setup (#2868)
[oweals/peertube.git] / support / docker / production / .env
1 # Database / Postgres service configuration
2 POSTGRES_USER=<MY POSTGRES USERNAME>
3 POSTGRES_PASSWORD=<MY POSTGRES PASSWORD>
4 # Postgres database name "peertube"
5 POSTGRES_DB=peertube
6 # Editable only with a suffix :
7 #POSTGRES_DB=peertube_prod
8 #PEERTUBE_DB_SUFFIX=_prod
9 PEERTUBE_DB_USERNAME=<MY POSTGRES USERNAME>
10 PEERTUBE_DB_PASSWORD=<MY POSTGRES PASSWORD>
11 # Default to Postgres service name "postgres" in docker-compose.yml
12 PEERTUBE_DB_HOSTNAME=postgres
13
14 # Server configuration
15 PEERTUBE_WEBSERVER_HOSTNAME=<MY DOMAIN>
16 # If you do not use https and a reverse-proxy in docker-compose.yml
17 #PEERTUBE_WEBSERVER_PORT=80
18 #PEERTUBE_WEBSERVER_HTTPS=false
19 # If you need more than one IP as trust_proxy
20 # pass them as a comma separated array:
21 PEERTUBE_TRUST_PROXY=["127.0.0.1", "loopback", "172.18.0.0/16"]
22
23 # E-mail configuration
24 # If you use a Custom SMTP server
25 #PEERTUBE_SMTP_USERNAME=
26 #PEERTUBE_SMTP_PASSWORD=
27 # Default to Postfix service name "postfix" in docker-compose.yml
28 # May be the hostname of your Custom SMTP server
29 PEERTUBE_SMTP_HOSTNAME=postfix
30 PEERTUBE_SMTP_PORT=25
31 PEERTUBE_SMTP_FROM=noreply@<MY DOMAIN>
32 PEERTUBE_SMTP_TLS=false
33 PEERTUBE_SMTP_DISABLE_STARTTLS=false
34 PEERTUBE_ADMIN_EMAIL=<MY EMAIL ADDRESS>
35
36 # Postfix service configuration
37 POSTFIX_myhostname=<MY DOMAIN>
38 # If you need to generate a list of sub/DOMAIN keys
39 # pass them as a whitespace separated string <DOMAIN>=<selector>
40 OPENDKIM_DOMAINS=<MY DOMAIN>=peertube
41 # see https://github.com/wader/postfix-relay/pull/18
42 OPENDKIM_RequireSafeKeys=no
43
44 # Let's Encrypt service configuration
45 TRAEFIK_ACME_EMAIL=<MY EMAIL ADDRESS>
46 # If you need to obtain ACME certificates for more than one DOMAIN
47 # pass them as a comma separated string
48 TRAEFIK_ACME_DOMAINS=<MY DOMAIN>
49
50 # /!\ Prefer to use the PeerTube admin interface to set the following configurations /!\
51 #PEERTUBE_SIGNUP_ENABLED=true
52 #PEERTUBE_TRANSCODING_ENABLED=true
53 #PEERTUBE_CONTACT_FORM_ENABLED=true