]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Copy custom-environment-variables.yaml on docker startup
authorChocobozzz <me@florianbigard.com>
Tue, 29 May 2018 08:04:04 +0000 (10:04 +0200)
committerChocobozzz <me@florianbigard.com>
Tue, 29 May 2018 08:04:04 +0000 (10:04 +0200)
support/docker/production/docker-entrypoint.sh

index 447cf7fa40a23f2dfdd9ab0aaa22da250c18e681..888fd8f34ae7d49d68bb5fc415b352314445f6ba 100755 (executable)
@@ -6,8 +6,9 @@ if [ -z "$(ls -A /config)" ]; then
     cp /app/support/docker/production/config/* /config
 fi
 
-# Always copy default configuration file, in cases where new keys were added
+# Always copy default and custom env configuration file, in cases where new keys were added
 cp /app/config/default.yaml /config
+cp /app/config/custom-environment-variables.yaml /config
 chown -R peertube:peertube /config
 
 # first arg is `-f` or `--some-option`