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>
This commit is contained in:
parent
2c2631e42a
commit
78c5e31049
2 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,7 @@ POSTGRES_DB=peertube
|
|||
#PEERTUBE_DB_SUFFIX=_prod
|
||||
PEERTUBE_DB_USERNAME=<MY POSTGRES USERNAME>
|
||||
PEERTUBE_DB_PASSWORD=<MY POSTGRES PASSWORD>
|
||||
PEERTUBE_DB_SSL=false
|
||||
# Default to Postgres service name "postgres" in docker-compose.yml
|
||||
PEERTUBE_DB_HOSTNAME=postgres
|
||||
|
||||
|
|
|
@ -19,6 +19,9 @@ database:
|
|||
suffix: "PEERTUBE_DB_SUFFIX"
|
||||
username: "PEERTUBE_DB_USERNAME"
|
||||
password: "PEERTUBE_DB_PASSWORD"
|
||||
ssl:
|
||||
__name: "PEERTUBE_DB_SSL"
|
||||
__format: "json"
|
||||
|
||||
redis:
|
||||
hostname: "PEERTUBE_REDIS_HOSTNAME"
|
||||
|
|
Loading…
Reference in a new issue