From 1ea868a9456439108fbd87255537093ed8bd456f Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 10 Oct 2022 11:19:45 +0200 Subject: Fill documentation with required secret conf --- support/docker/production/.env | 3 +++ support/docker/production/config/custom-environment-variables.yaml | 3 +++ 2 files changed, 6 insertions(+) (limited to 'support/docker') diff --git a/support/docker/production/.env b/support/docker/production/.env index 4e7b21ab6..b4e356a58 100644 --- a/support/docker/production/.env +++ b/support/docker/production/.env @@ -22,6 +22,9 @@ PEERTUBE_WEBSERVER_HOSTNAME= # 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= + # E-mail configuration # If you use a Custom SMTP server #PEERTUBE_SMTP_USERNAME= diff --git a/support/docker/production/config/custom-environment-variables.yaml b/support/docker/production/config/custom-environment-variables.yaml index 9c84428b7..1d889fe7d 100644 --- a/support/docker/production/config/custom-environment-variables.yaml +++ b/support/docker/production/config/custom-environment-variables.yaml @@ -7,6 +7,9 @@ webserver: __name: "PEERTUBE_WEBSERVER_HTTPS" __format: "json" +secrets: + peertube: "PEERTUBE_SECRET" + trust_proxy: __name: "PEERTUBE_TRUST_PROXY" __format: "json" -- cgit v1.2.3