]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/docker/production/.env
Merge branch 'release/5.1.0' into develop
[github/Chocobozzz/PeerTube.git] / support / docker / production / .env
index 3e19c38173b9d31a1d7cbfbc70a626be2f799bc9..b4e356a58f35cd5d88e8d47cb73e2dcc94fe8297 100644 (file)
@@ -8,18 +8,23 @@ POSTGRES_DB=peertube
 #PEERTUBE_DB_SUFFIX=_prod
 PEERTUBE_DB_USERNAME=<MY POSTGRES USERNAME>
 PEERTUBE_DB_PASSWORD=<MY POSTGRES PASSWORD>
+PEERTUBE_DB_SSL=false
 # Default to Postgres service name "postgres" in docker-compose.yml
 PEERTUBE_DB_HOSTNAME=postgres
 
-# Server configuration
+# PeerTube server configuration
+# If you test PeerTube in local: use "peertube.localhost" and add this domain to your host file resolving on 127.0.0.1
 PEERTUBE_WEBSERVER_HOSTNAME=<MY DOMAIN>
-# If you do not use https and a reverse-proxy in docker-compose.yml
-#PEERTUBE_WEBSERVER_PORT=80
+# If you just want to test PeerTube on local
+#PEERTUBE_WEBSERVER_PORT=9000
 #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"]
 
+# Generate one using `openssl rand -hex 32`
+PEERTUBE_SECRET=<MY PEERTUBE SECRET>
+
 # E-mail configuration
 # If you use a Custom SMTP server
 #PEERTUBE_SMTP_USERNAME=