diff options
author | victor héry <git@lecygnenoir.info> | 2018-09-16 17:53:57 +0200 |
---|---|---|
committer | Rigel Kent <par@rigelk.eu> | 2018-09-16 18:50:13 +0200 |
commit | ff587059b9d901c26eab34f4b7f0c06130aae10d (patch) | |
tree | 259a802f285787ce2d7d1a8b6479133da81ed9c7 /support/docker/production | |
parent | a2377d15ee09301cf4cc5434ad865a21918da15f (diff) | |
download | PeerTube-ff587059b9d901c26eab34f4b7f0c06130aae10d.tar.gz PeerTube-ff587059b9d901c26eab34f4b7f0c06130aae10d.tar.zst PeerTube-ff587059b9d901c26eab34f4b7f0c06130aae10d.zip |
Add possibility to manage trust_proxy list in docker image
Diffstat (limited to 'support/docker/production')
-rw-r--r-- | support/docker/production/.env | 1 | ||||
-rw-r--r-- | support/docker/production/config/custom-environment-variables.yaml | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/support/docker/production/.env b/support/docker/production/.env index 51c4e0ace..8af161b2a 100644 --- a/support/docker/production/.env +++ b/support/docker/production/.env | |||
@@ -3,6 +3,7 @@ PEERTUBE_DB_PASSWORD=postgres_password | |||
3 | PEERTUBE_WEBSERVER_HOSTNAME=domain.tld | 3 | PEERTUBE_WEBSERVER_HOSTNAME=domain.tld |
4 | PEERTUBE_WEBSERVER_PORT=443 | 4 | PEERTUBE_WEBSERVER_PORT=443 |
5 | PEERTUBE_WEBSERVER_HTTPS=true | 5 | PEERTUBE_WEBSERVER_HTTPS=true |
6 | PEERTUBE_TRUST_PROXY=127.0.0.1 | ||
6 | PEERTUBE_SMTP_USERNAME= | 7 | PEERTUBE_SMTP_USERNAME= |
7 | PEERTUBE_SMTP_PASSWORD= | 8 | PEERTUBE_SMTP_PASSWORD= |
8 | PEERTUBE_SMTP_HOSTNAME= | 9 | PEERTUBE_SMTP_HOSTNAME= |
diff --git a/support/docker/production/config/custom-environment-variables.yaml b/support/docker/production/config/custom-environment-variables.yaml index 1c732e2e0..daf885813 100644 --- a/support/docker/production/config/custom-environment-variables.yaml +++ b/support/docker/production/config/custom-environment-variables.yaml | |||
@@ -7,6 +7,8 @@ webserver: | |||
7 | __name: "PEERTUBE_WEBSERVER_HTTPS" | 7 | __name: "PEERTUBE_WEBSERVER_HTTPS" |
8 | __format: "json" | 8 | __format: "json" |
9 | 9 | ||
10 | trust_proxy: "PEERTUBE_TRUST_PROXY" | ||
11 | |||
10 | database: | 12 | database: |
11 | hostname: "PEERTUBE_DB_HOSTNAME" | 13 | hostname: "PEERTUBE_DB_HOSTNAME" |
12 | port: | 14 | port: |