diff options
author | Chocobozzz <me@florianbigard.com> | 2018-05-29 10:04:04 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-05-29 10:04:04 +0200 |
commit | 0c985c5a039c3dd942fa78330e83d5434bed66b0 (patch) | |
tree | 259580dc9ebb74e38c099a4d10724aeb63d1a8f6 | |
parent | 87529dbfdfab576646379bb53f99b590cee7fb86 (diff) | |
download | PeerTube-0c985c5a039c3dd942fa78330e83d5434bed66b0.tar.gz PeerTube-0c985c5a039c3dd942fa78330e83d5434bed66b0.tar.zst PeerTube-0c985c5a039c3dd942fa78330e83d5434bed66b0.zip |
Copy custom-environment-variables.yaml on docker startup
-rwxr-xr-x | support/docker/production/docker-entrypoint.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/support/docker/production/docker-entrypoint.sh b/support/docker/production/docker-entrypoint.sh index 447cf7fa4..888fd8f34 100755 --- a/support/docker/production/docker-entrypoint.sh +++ b/support/docker/production/docker-entrypoint.sh | |||
@@ -6,8 +6,9 @@ if [ -z "$(ls -A /config)" ]; then | |||
6 | cp /app/support/docker/production/config/* /config | 6 | cp /app/support/docker/production/config/* /config |
7 | fi | 7 | fi |
8 | 8 | ||
9 | # Always copy default configuration file, in cases where new keys were added | 9 | # Always copy default and custom env configuration file, in cases where new keys were added |
10 | cp /app/config/default.yaml /config | 10 | cp /app/config/default.yaml /config |
11 | cp /app/config/custom-environment-variables.yaml /config | ||
11 | chown -R peertube:peertube /config | 12 | chown -R peertube:peertube /config |
12 | 13 | ||
13 | # first arg is `-f` or `--some-option` | 14 | # first arg is `-f` or `--some-option` |