Add possibility to manage trust_proxy list in docker image

pull/1082/head
victor héry 2018-09-16 17:53:57 +02:00 committed by Rigel Kent
parent a2377d15ee
commit ff587059b9
2 changed files with 3 additions and 0 deletions

View File

@ -3,6 +3,7 @@ PEERTUBE_DB_PASSWORD=postgres_password
PEERTUBE_WEBSERVER_HOSTNAME=domain.tld
PEERTUBE_WEBSERVER_PORT=443
PEERTUBE_WEBSERVER_HTTPS=true
PEERTUBE_TRUST_PROXY=127.0.0.1
PEERTUBE_SMTP_USERNAME=
PEERTUBE_SMTP_PASSWORD=
PEERTUBE_SMTP_HOSTNAME=

View File

@ -7,6 +7,8 @@ webserver:
__name: "PEERTUBE_WEBSERVER_HTTPS"
__format: "json"
trust_proxy: "PEERTUBE_TRUST_PROXY"
database:
hostname: "PEERTUBE_DB_HOSTNAME"
port: