1
0
Fork 0
mirror of https://github.com/overleaf/toolkit.git synced 2025-04-19 23:38:06 +02:00

Include override file, if present

This commit is contained in:
Shane Kilkelly 2020-06-12 15:59:11 +01:00
parent b0fe786136
commit bc4f5e1614

View file

@ -30,6 +30,10 @@ function __main__() {
compose_file_flags+=("-f ./config/docker-compose.mongo.yml")
fi
# Include docker-compose.override.yml if it is present
if [[ -f './config/docker-compose.override.yml' ]]; then
compose_file_flags+=("-f ./config/docker-compose.override.yml")
fi
# Build up the flags to pass to docker-compose
project_name_flag="-p ${RC_PROJECT_NAME:-overleaf}"
args="$*"