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 3
3
set -e
4
4
5
5
CRON_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}
8
8
9
9
if [[ " $1 " == ' no-cron' ]]; then
10
10
exec /backup.sh
Original file line number Diff line number Diff line change 3
3
set -e
4
4
5
5
CRON_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}
8
8
9
9
if [[ " $1 " == ' no-cron' ]]; then
10
10
exec /backup.sh
Original file line number Diff line number Diff line change 3
3
set -e
4
4
5
5
CRON_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}
8
8
9
9
if [[ " $1 " == ' no-cron' ]]; then
10
10
exec /backup.sh
You can’t perform that action at this time.
0 commit comments