mirror of https://github.com/Chocobozzz/PeerTube
Allow SSL database parameter (#4114)
* Allow SSL database parameter Allow SSL database parameter via environment variable * Allow SSL database parameter Allow SSL database parameter via environment variable * Update support/docker/production/config/custom-environment-variables.yaml Co-authored-by: Chocobozzz <chocobozzz@cpy.re> Co-authored-by: Chocobozzz <chocobozzz@cpy.re>pull/4048/head
parent
2c2631e42a
commit
78c5e31049
|
@ -8,6 +8,7 @@ POSTGRES_DB=peertube
|
||||||
#PEERTUBE_DB_SUFFIX=_prod
|
#PEERTUBE_DB_SUFFIX=_prod
|
||||||
PEERTUBE_DB_USERNAME=<MY POSTGRES USERNAME>
|
PEERTUBE_DB_USERNAME=<MY POSTGRES USERNAME>
|
||||||
PEERTUBE_DB_PASSWORD=<MY POSTGRES PASSWORD>
|
PEERTUBE_DB_PASSWORD=<MY POSTGRES PASSWORD>
|
||||||
|
PEERTUBE_DB_SSL=false
|
||||||
# Default to Postgres service name "postgres" in docker-compose.yml
|
# Default to Postgres service name "postgres" in docker-compose.yml
|
||||||
PEERTUBE_DB_HOSTNAME=postgres
|
PEERTUBE_DB_HOSTNAME=postgres
|
||||||
|
|
||||||
|
|
|
@ -19,6 +19,9 @@ database:
|
||||||
suffix: "PEERTUBE_DB_SUFFIX"
|
suffix: "PEERTUBE_DB_SUFFIX"
|
||||||
username: "PEERTUBE_DB_USERNAME"
|
username: "PEERTUBE_DB_USERNAME"
|
||||||
password: "PEERTUBE_DB_PASSWORD"
|
password: "PEERTUBE_DB_PASSWORD"
|
||||||
|
ssl:
|
||||||
|
__name: "PEERTUBE_DB_SSL"
|
||||||
|
__format: "json"
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
hostname: "PEERTUBE_REDIS_HOSTNAME"
|
hostname: "PEERTUBE_REDIS_HOSTNAME"
|
||||||
|
|
Loading…
Reference in New Issue