]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/docker/production/.env
Fix docker-compose setup so Peertube sees correct IP
[github/Chocobozzz/PeerTube.git] / support / docker / production / .env
index 9edc183b61f0cb16d1c4e91127b1392ec3fda783..c8393d0ce808c61d5fb2338644c32101f6aabadf 100644 (file)
@@ -1,16 +1,20 @@
-DB_USERNAME=postgres_user
-DB_PASSWORD=postgres_password
+PEERTUBE_DB_USERNAME=postgres_user
+PEERTUBE_DB_PASSWORD=postgres_password
 PEERTUBE_WEBSERVER_HOSTNAME=domain.tld
 PEERTUBE_WEBSERVER_PORT=443
 PEERTUBE_WEBSERVER_HTTPS=true
-PEERTUBE_SMTP_USERNAME=
-PEERTUBE_SMTP_PASSWORD=
-PEERTUBE_SMTP_HOSTNAME=
+# 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@domain.tld
-PEERTUBE_SMTP_TLS=true
+PEERTUBE_SMTP_TLS=false
 PEERTUBE_SMTP_DISABLE_STARTTLS=false
 PEERTUBE_ADMIN_EMAIL=admin@domain.tld
 # /!\ Prefer to use the PeerTube admin interface to set the following configurations /!\
 #PEERTUBE_SIGNUP_ENABLED=true
 #PEERTUBE_TRANSCODING_ENABLED=true
+#PEERTUBE_CONTACT_FORM_ENABLED=true