]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame_incremental - support/docker/production/.env
Merge branch 'release/5.1.0' into develop
[github/Chocobozzz/PeerTube.git] / support / docker / production / .env
... / ...
CommitLineData
1# Database / Postgres service configuration
2POSTGRES_USER=<MY POSTGRES USERNAME>
3POSTGRES_PASSWORD=<MY POSTGRES PASSWORD>
4# Postgres database name "peertube"
5POSTGRES_DB=peertube
6# Editable only with a suffix :
7#POSTGRES_DB=peertube_prod
8#PEERTUBE_DB_SUFFIX=_prod
9PEERTUBE_DB_USERNAME=<MY POSTGRES USERNAME>
10PEERTUBE_DB_PASSWORD=<MY POSTGRES PASSWORD>
11PEERTUBE_DB_SSL=false
12# Default to Postgres service name "postgres" in docker-compose.yml
13PEERTUBE_DB_HOSTNAME=postgres
14
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
17PEERTUBE_WEBSERVER_HOSTNAME=<MY DOMAIN>
18# If you just want to test PeerTube on local
19#PEERTUBE_WEBSERVER_PORT=9000
20#PEERTUBE_WEBSERVER_HTTPS=false
21# If you need more than one IP as trust_proxy
22# pass them as a comma separated array:
23PEERTUBE_TRUST_PROXY=["127.0.0.1", "loopback", "172.18.0.0/16"]
24
25# Generate one using `openssl rand -hex 32`
26PEERTUBE_SECRET=<MY PEERTUBE SECRET>
27
28# E-mail configuration
29# If you use a Custom SMTP server
30#PEERTUBE_SMTP_USERNAME=
31#PEERTUBE_SMTP_PASSWORD=
32# Default to Postfix service name "postfix" in docker-compose.yml
33# May be the hostname of your Custom SMTP server
34PEERTUBE_SMTP_HOSTNAME=postfix
35PEERTUBE_SMTP_PORT=25
36PEERTUBE_SMTP_FROM=noreply@<MY DOMAIN>
37PEERTUBE_SMTP_TLS=false
38PEERTUBE_SMTP_DISABLE_STARTTLS=false
39PEERTUBE_ADMIN_EMAIL=<MY EMAIL ADDRESS>
40
41# Postfix service configuration
42POSTFIX_myhostname=<MY DOMAIN>
43# If you need to generate a list of sub/DOMAIN keys
44# pass them as a whitespace separated string <DOMAIN>=<selector>
45OPENDKIM_DOMAINS=<MY DOMAIN>=peertube
46# see https://github.com/wader/postfix-relay/pull/18
47OPENDKIM_RequireSafeKeys=no
48
49# /!\ Prefer to use the PeerTube admin interface to set the following configurations /!\
50#PEERTUBE_SIGNUP_ENABLED=true
51#PEERTUBE_TRANSCODING_ENABLED=true
52#PEERTUBE_CONTACT_FORM_ENABLED=true