aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/docker/production
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-05-29 10:04:04 +0200
committerChocobozzz <me@florianbigard.com>2018-05-29 10:04:04 +0200
commit0c985c5a039c3dd942fa78330e83d5434bed66b0 (patch)
tree259580dc9ebb74e38c099a4d10724aeb63d1a8f6 /support/docker/production
parent87529dbfdfab576646379bb53f99b590cee7fb86 (diff)
downloadPeerTube-0c985c5a039c3dd942fa78330e83d5434bed66b0.tar.gz
PeerTube-0c985c5a039c3dd942fa78330e83d5434bed66b0.tar.zst
PeerTube-0c985c5a039c3dd942fa78330e83d5434bed66b0.zip
Copy custom-environment-variables.yaml on docker startup
Diffstat (limited to 'support/docker/production')
-rwxr-xr-xsupport/docker/production/docker-entrypoint.sh3
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
7fi 7fi
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
10cp /app/config/default.yaml /config 10cp /app/config/default.yaml /config
11cp /app/config/custom-environment-variables.yaml /config
11chown -R peertube:peertube /config 12chown -R peertube:peertube /config
12 13
13# first arg is `-f` or `--some-option` 14# first arg is `-f` or `--some-option`