Copy custom-environment-variables.yaml on docker startup

pull/603/head
Chocobozzz 2018-05-29 10:04:04 +02:00
parent 87529dbfdf
commit 0c985c5a03
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 1 deletions

View File

@ -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`