Skip to content

Commit

Permalink
Use patient serializer to get patient data.
Browse files Browse the repository at this point in the history
  • Loading branch information
istepanov committed Apr 12, 2017
1 parent 6de684e commit 61421de
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions 3.0/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
set -e

CRON_SCHEDULE=${CRON_SCHEDULE:-0 1 * * *}
MONGO_HOST=${MONGO_HOST:-mongo}
MONGO_PORT=${MONGO_PORT:-27017}
export MONGO_HOST=${MONGO_HOST:-mongo}
export MONGO_PORT=${MONGO_PORT:-27017}

if [[ "$1" == 'no-cron' ]]; then
exec /backup.sh
Expand Down
4 changes: 2 additions & 2 deletions 3.2/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
set -e

CRON_SCHEDULE=${CRON_SCHEDULE:-0 1 * * *}
MONGO_HOST=${MONGO_HOST:-mongo}
MONGO_PORT=${MONGO_PORT:-27017}
export MONGO_HOST=${MONGO_HOST:-mongo}
export MONGO_PORT=${MONGO_PORT:-27017}

if [[ "$1" == 'no-cron' ]]; then
exec /backup.sh
Expand Down
4 changes: 2 additions & 2 deletions 3.4/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
set -e

CRON_SCHEDULE=${CRON_SCHEDULE:-0 1 * * *}
MONGO_HOST=${MONGO_HOST:-mongo}
MONGO_PORT=${MONGO_PORT:-27017}
export MONGO_HOST=${MONGO_HOST:-mongo}
export MONGO_PORT=${MONGO_PORT:-27017}

if [[ "$1" == 'no-cron' ]]; then
exec /backup.sh
Expand Down

0 comments on commit 61421de

Please sign in to comment.