File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 33set -e
44
55CRON_SCHEDULE=${CRON_SCHEDULE:- 0 1 * * * }
6- MONGO_HOST=${MONGO_HOST:- mongo}
7- MONGO_PORT=${MONGO_PORT:- 27017}
6+ export MONGO_HOST=${MONGO_HOST:- mongo}
7+ export MONGO_PORT=${MONGO_PORT:- 27017}
88
99if [[ " $1 " == ' no-cron' ]]; then
1010 exec /backup.sh
Original file line number Diff line number Diff line change 33set -e
44
55CRON_SCHEDULE=${CRON_SCHEDULE:- 0 1 * * * }
6- MONGO_HOST=${MONGO_HOST:- mongo}
7- MONGO_PORT=${MONGO_PORT:- 27017}
6+ export MONGO_HOST=${MONGO_HOST:- mongo}
7+ export MONGO_PORT=${MONGO_PORT:- 27017}
88
99if [[ " $1 " == ' no-cron' ]]; then
1010 exec /backup.sh
Original file line number Diff line number Diff line change 33set -e
44
55CRON_SCHEDULE=${CRON_SCHEDULE:- 0 1 * * * }
6- MONGO_HOST=${MONGO_HOST:- mongo}
7- MONGO_PORT=${MONGO_PORT:- 27017}
6+ export MONGO_HOST=${MONGO_HOST:- mongo}
7+ export MONGO_PORT=${MONGO_PORT:- 27017}
88
99if [[ " $1 " == ' no-cron' ]]; then
1010 exec /backup.sh
You can’t perform that action at this time.
0 commit comments