From 0c985c5a039c3dd942fa78330e83d5434bed66b0 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 29 May 2018 10:04:04 +0200 Subject: [PATCH] Copy custom-environment-variables.yaml on docker startup --- support/docker/production/docker-entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 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` -- 2.25.1