Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion build_image/docker/common/api-engine/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ envsubst < ${RAW_LOCAL_SETTINGS} > ${LOCAL_SETTINGS}

holdup -t 120 tcp://${DB_HOST}:${DB_PORT};
if [[ "$RUN_MODE" == "server" ]]; then
python manage.py makemigrations && python manage.py migrate;
python manage.py migrate;
python manage.py create_user \
--username ${API_ENGINE_ADMIN_USERNAME:-admin} \
--password ${API_ENGINE_ADMIN_PASSWORD:-pass} \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ envsubst < ${RAW_LOCAL_SETTINGS} > ${LOCAL_SETTINGS}

holdup -t 120 tcp://${DB_HOST}:${DB_PORT};
if [[ "$RUN_MODE" == "server" ]]; then
python manage.py makemigrations && python manage.py migrate;
python manage.py migrate;
python manage.py create_user \
--username ${API_ENGINE_ADMIN_USERNAME:-admin} \
--password ${API_ENGINE_ADMIN_PASSWORD:-pass} \
Expand Down
Loading