diff options
author | Chocobozzz <me@florianbigard.com> | 2022-10-10 11:19:58 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-10-10 11:19:58 +0200 |
commit | 63fa260a81a8930c157b73c897fe8696a8cc90d4 (patch) | |
tree | 705ebfae42f9c59b2a1ac97779e4037102dfed1c /support/docker | |
parent | 9b99d32804e99462c6f22df3ec3db9ec5bf8a18c (diff) | |
parent | 1ea868a9456439108fbd87255537093ed8bd456f (diff) | |
download | PeerTube-63fa260a81a8930c157b73c897fe8696a8cc90d4.tar.gz PeerTube-63fa260a81a8930c157b73c897fe8696a8cc90d4.tar.zst PeerTube-63fa260a81a8930c157b73c897fe8696a8cc90d4.zip |
Merge branch 'feature/otp' into develop
Diffstat (limited to 'support/docker')
-rw-r--r-- | support/docker/production/.env | 3 | ||||
-rw-r--r-- | support/docker/production/config/custom-environment-variables.yaml | 3 |
2 files changed, 6 insertions, 0 deletions
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=<MY DOMAIN> | |||
22 | # pass them as a comma separated array: | 22 | # pass them as a comma separated array: |
23 | PEERTUBE_TRUST_PROXY=["127.0.0.1", "loopback", "172.18.0.0/16"] | 23 | PEERTUBE_TRUST_PROXY=["127.0.0.1", "loopback", "172.18.0.0/16"] |
24 | 24 | ||
25 | # Generate one using `openssl rand -hex 32` | ||
26 | PEERTUBE_SECRET=<MY PEERTUBE SECRET> | ||
27 | |||
25 | # E-mail configuration | 28 | # E-mail configuration |
26 | # If you use a Custom SMTP server | 29 | # If you use a Custom SMTP server |
27 | #PEERTUBE_SMTP_USERNAME= | 30 | #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: | |||
7 | __name: "PEERTUBE_WEBSERVER_HTTPS" | 7 | __name: "PEERTUBE_WEBSERVER_HTTPS" |
8 | __format: "json" | 8 | __format: "json" |
9 | 9 | ||
10 | secrets: | ||
11 | peertube: "PEERTUBE_SECRET" | ||
12 | |||
10 | trust_proxy: | 13 | trust_proxy: |
11 | __name: "PEERTUBE_TRUST_PROXY" | 14 | __name: "PEERTUBE_TRUST_PROXY" |
12 | __format: "json" | 15 | __format: "json" |