ActivityPub-federated video streaming platform using P2P directly in your web browser
Fixes docker-compose .env (#2538)
Kim148ab2f0f043
diff --git a/support/doc/docker.md b/support/doc/docker.mdindex c599af0f98..c1173972aa 100644--- a/support/doc/docker.md+++ b/support/doc/docker.md@@ -84,7 +84,6 @@ vim ./.envIn the downloaded example [.env](https://github.com/Chocobozzz/PeerTube/blob/master/support/docker/production/.env), you must replace:- `<MY POSTGRES USERNAME>`- `<MY POSTGRES PASSWORD>`-- `<MY POSTGRES DB>`- `<MY DOMAIN>` without 'https://'- `<MY EMAIL ADDRESS>`diff --git a/support/docker/production/.env b/support/docker/production/.envindex 4743b68db4..8ed9b062b8 100644--- a/support/docker/production/.env+++ b/support/docker/production/.env@@ -1,32 +1,50 @@+# Database / Postgres service configurationPOSTGRES_USER=<MY POSTGRES USERNAME>POSTGRES_PASSWORD=<MY POSTGRES PASSWORD>-POSTGRES_DB=<MY POSTGRES DB>+# Postgres database name "peertube"+POSTGRES_DB=peertube+# Editable only with a suffix :+#POSTGRES_DB=peertube_prod+#PEERTUBE_DB_SUFFIX=_prodPEERTUBE_DB_USERNAME=<MY POSTGRES USERNAME>PEERTUBE_DB_PASSWORD=<MY POSTGRES PASSWORD>-# PEERTUBE_DB_HOSTNAME is the Postgres service name in docker-compose.yml+# Default to Postgres service name "postgres" in docker-compose.ymlPEERTUBE_DB_HOSTNAME=postgres++# Server configurationPEERTUBE_WEBSERVER_HOSTNAME=<MY DOMAIN>-PEERTUBE_WEBSERVER_PORT=443-PEERTUBE_WEBSERVER_HTTPS=true+# If you do not use https and a reverse-proxy in docker-compose.yml+#PEERTUBE_WEBSERVER_PORT=80+#PEERTUBE_WEBSERVER_HTTPS=false# If you need more than one IP as trust_proxy# pass them as a comma separated array:PEERTUBE_TRUST_PROXY=["127.0.0.1", "loopback", "172.18.0.0/16"]++# E-mail configuration+# If you use a Custom SMTP server#PEERTUBE_SMTP_USERNAME=#PEERTUBE_SMTP_PASSWORD=+# Default to Postfix service name "postfix" in docker-compose.yml+# May be the hostname of your Custom SMTP serverPEERTUBE_SMTP_HOSTNAME=postfixPEERTUBE_SMTP_PORT=25PEERTUBE_SMTP_FROM=noreply@<MY DOMAIN>PEERTUBE_SMTP_TLS=falsePEERTUBE_SMTP_DISABLE_STARTTLS=falsePEERTUBE_ADMIN_EMAIL=<MY EMAIL ADDRESS>++# Postfix service configurationPOSTFIX_myhostname=<MY DOMAIN># If you need to generate a list of sub/DOMAIN keys# pass them as a whitespace separated string <DOMAIN>=<selector>OPENDKIM_DOMAINS=<MY DOMAIN>=peertube++# Let's Encrypt service configurationTRAEFIK_ACME_EMAIL=<MY EMAIL ADDRESS># If you need to obtain ACME certificates for more than one DOMAIN# pass them as a comma separated stringTRAEFIK_ACME_DOMAINS=<MY DOMAIN>+# /!\ Prefer to use the PeerTube admin interface to set the following configurations /!\#PEERTUBE_SIGNUP_ENABLED=true#PEERTUBE_TRANSCODING_ENABLED=true