ActivityPub-federated video streaming platform using P2P directly in your web browser
Sticking to one env-var management system (#2247)
Leoperee2882b2ccba9
diff --git a/support/docker/production/.env b/support/docker/production/.envindex c8393d0ce8..95ca42d697 100644--- a/support/docker/production/.env+++ b/support/docker/production/.env@@ -1,5 +1,9 @@-PEERTUBE_DB_USERNAME=postgres_user-PEERTUBE_DB_PASSWORD=postgres_password+POSTGRES_USER=peertube+POSTGRES_PASSWORD=peertube+POSTGRES_DB=peertube+PEERTUBE_DB_USERNAME=$(POSTGRES_USER)+PEERTUBE_DB_PASSWORD=$(POSTGRES_PASSWORD)+PEERTUBE_DB_HOSTNAME=postgresPEERTUBE_WEBSERVER_HOSTNAME=domain.tldPEERTUBE_WEBSERVER_PORT=443PEERTUBE_WEBSERVER_HTTPS=true@@ -14,6 +18,7 @@ [email protected]PEERTUBE_SMTP_TLS=falsePEERTUBE_SMTP_DISABLE_STARTTLS=false+POSTFIX_myhostname=${PEERTUBE_WEBSERVER_HOSTNAME}# /!\ Prefer to use the PeerTube admin interface to set the following configurations /!\#PEERTUBE_SIGNUP_ENABLED=true#PEERTUBE_TRANSCODING_ENABLED=truediff --git a/support/docker/production/docker-compose.yml b/support/docker/production/docker-compose.ymlindex 3786ae675c..9f6c47eca3 100644--- a/support/docker/production/docker-compose.yml+++ b/support/docker/production/docker-compose.yml@@ -47,10 +47,8 @@ services:postgres:image: postgres:10-alpine- environment:- POSTGRES_USER: ${PEERTUBE_DB_USERNAME}- POSTGRES_PASSWORD: ${PEERTUBE_DB_PASSWORD}- POSTGRES_DB: peertube+ env_file:+ - .envvolumes:- ./docker-volume/db:/var/lib/postgresql/datarestart: "always"@@ -67,8 +65,8 @@ services:postfix:image: mwader/postfix-relay- environment:- - POSTFIX_myhostname=${PEERTUBE_WEBSERVER_HOSTNAME}+ env_file:+ - .envlabels:traefik.enable: "false"restart: "always"