X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=support%2Fdocker%2Fproduction%2F.env;h=95ca42d6971ad5438ee02ceb3e4bb0ead3893743;hb=338eb9d33af690db716805fd2277bf68f473b58f;hp=346dd3d2d7316123e246d6074a1362cd35603888;hpb=632f9815c6ab87fce3f3f7399cef9f7679fde908;p=github%2FChocobozzz%2FPeerTube.git diff --git a/support/docker/production/.env b/support/docker/production/.env index 346dd3d2d..95ca42d69 100644 --- a/support/docker/production/.env +++ b/support/docker/production/.env @@ -1,15 +1,25 @@ -DB_USERNAME=postgres_user -DB_PASSWORD=postgres_password -PEERTUBE_WEBSERVER_HOSTNAME=my.domain.tld +POSTGRES_USER=peertube +POSTGRES_PASSWORD=peertube +POSTGRES_DB=peertube +PEERTUBE_DB_USERNAME=$(POSTGRES_USER) +PEERTUBE_DB_PASSWORD=$(POSTGRES_PASSWORD) +PEERTUBE_DB_HOSTNAME=postgres +PEERTUBE_WEBSERVER_HOSTNAME=domain.tld PEERTUBE_WEBSERVER_PORT=443 PEERTUBE_WEBSERVER_HTTPS=true -PEERTUBE_SMTP_USERNAME=null -PEERTUBE_SMTP_PASSWORD=null -PEERTUBE_SMTP_HOSTNAME=null +# 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"] +#PEERTUBE_SMTP_USERNAME= +#PEERTUBE_SMTP_PASSWORD= +PEERTUBE_SMTP_HOSTNAME=postfix PEERTUBE_SMTP_PORT=25 -PEERTUBE_SMTP_FROM=noreply@peertube.domain.tld -PEERTUBE_SMTP_TLS="true" +PEERTUBE_SMTP_FROM=noreply@domain.tld +PEERTUBE_SMTP_TLS=false +PEERTUBE_SMTP_DISABLE_STARTTLS=false +PEERTUBE_ADMIN_EMAIL=admin@domain.tld +POSTFIX_myhostname=${PEERTUBE_WEBSERVER_HOSTNAME} # /!\ Prefer to use the PeerTube admin interface to set the following configurations /!\ -#PEERTUBE_ADMIN_EMAIL=admin@domain.tld -#PEERTUBE_SIGNUP_ENABLED="true" -#PEERTUBE_TRANSCODING_ENABLED="true" +#PEERTUBE_SIGNUP_ENABLED=true +#PEERTUBE_TRANSCODING_ENABLED=true +#PEERTUBE_CONTACT_FORM_ENABLED=true