diff options
author | Joël Galeran <Jolg42@users.noreply.github.com> | 2023-04-07 10:52:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-07 10:52:49 +0200 |
commit | 3458e8ba0d3543233444137589e7f79e4be44763 (patch) | |
tree | aed46f4f681e959c70ee355bfc5e256c1ce4260d /support/docker/production/config/custom-environment-variables.yaml | |
parent | b302c80dc0d9ba8eabef9ef6576efe36afc57584 (diff) | |
download | PeerTube-3458e8ba0d3543233444137589e7f79e4be44763.tar.gz PeerTube-3458e8ba0d3543233444137589e7f79e4be44763.tar.zst PeerTube-3458e8ba0d3543233444137589e7f79e4be44763.zip |
feat(docker): make database name configurable (#5734)
* feat(docker): make database name configurable
WIP
Related https://github.com/Chocobozzz/PeerTube/issues/5708
* Update .env
* PEERTUBE_DB_NAME & add comments
Diffstat (limited to 'support/docker/production/config/custom-environment-variables.yaml')
-rw-r--r-- | support/docker/production/config/custom-environment-variables.yaml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/support/docker/production/config/custom-environment-variables.yaml b/support/docker/production/config/custom-environment-variables.yaml index 10432e6a0..8fff54229 100644 --- a/support/docker/production/config/custom-environment-variables.yaml +++ b/support/docker/production/config/custom-environment-variables.yaml | |||
@@ -1,3 +1,8 @@ | |||
1 | # | ||
2 | # This file will be read by node-config | ||
3 | # See https://github.com/node-config/node-config/wiki/Environment-Variables#custom-environment-variables | ||
4 | # | ||
5 | |||
1 | webserver: | 6 | webserver: |
2 | hostname: "PEERTUBE_WEBSERVER_HOSTNAME" | 7 | hostname: "PEERTUBE_WEBSERVER_HOSTNAME" |
3 | port: | 8 | port: |
@@ -19,6 +24,7 @@ database: | |||
19 | port: | 24 | port: |
20 | __name: "PEERTUBE_DB_PORT" | 25 | __name: "PEERTUBE_DB_PORT" |
21 | __format: "json" | 26 | __format: "json" |
27 | name: "PEERTUBE_DB_NAME" | ||
22 | suffix: "PEERTUBE_DB_SUFFIX" | 28 | suffix: "PEERTUBE_DB_SUFFIX" |
23 | username: "PEERTUBE_DB_USERNAME" | 29 | username: "PEERTUBE_DB_USERNAME" |
24 | password: "PEERTUBE_DB_PASSWORD" | 30 | password: "PEERTUBE_DB_PASSWORD" |