From 148ab2f0f043a4c7cc28f9497cb6ae3819e8b838 Mon Sep 17 00:00:00 2001 From: Kim <1877318+kimsible@users.noreply.github.com> Date: Mon, 18 May 2020 17:50:58 +0200 Subject: Fixes docker-compose .env (#2538) * chore: remove unused var * fix database name as peertube + update comments * chore: comment vars indentic to production.yrml * add smtp comment * clarify and detail comments Co-authored-by: kimsible --- support/docker/production/.env | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) (limited to 'support/docker') diff --git a/support/docker/production/.env b/support/docker/production/.env index 4743b68db..8ed9b062b 100644 --- a/support/docker/production/.env +++ b/support/docker/production/.env @@ -1,32 +1,50 @@ +# Database / Postgres service configuration POSTGRES_USER= POSTGRES_PASSWORD= -POSTGRES_DB= +# Postgres database name "peertube" +POSTGRES_DB=peertube +# Editable only with a suffix : +#POSTGRES_DB=peertube_prod +#PEERTUBE_DB_SUFFIX=_prod PEERTUBE_DB_USERNAME= PEERTUBE_DB_PASSWORD= -# PEERTUBE_DB_HOSTNAME is the Postgres service name in docker-compose.yml +# Default to Postgres service name "postgres" in docker-compose.yml PEERTUBE_DB_HOSTNAME=postgres + +# Server configuration PEERTUBE_WEBSERVER_HOSTNAME= -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 server PEERTUBE_SMTP_HOSTNAME=postfix PEERTUBE_SMTP_PORT=25 PEERTUBE_SMTP_FROM=noreply@ PEERTUBE_SMTP_TLS=false PEERTUBE_SMTP_DISABLE_STARTTLS=false PEERTUBE_ADMIN_EMAIL= + +# Postfix service configuration POSTFIX_myhostname= # If you need to generate a list of sub/DOMAIN keys # pass them as a whitespace separated string = OPENDKIM_DOMAINS==peertube + +# Let's Encrypt service configuration TRAEFIK_ACME_EMAIL= # If you need to obtain ACME certificates for more than one DOMAIN # pass them as a comma separated string TRAEFIK_ACME_DOMAINS= + # /!\ Prefer to use the PeerTube admin interface to set the following configurations /!\ #PEERTUBE_SIGNUP_ENABLED=true #PEERTUBE_TRANSCODING_ENABLED=true -- cgit v1.2.3