Skip to content

Commit

Permalink
Sleep debug
Browse files Browse the repository at this point in the history
  • Loading branch information
rhyslbw committed Jul 7, 2020
1 parent a016c31 commit c46d889
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/api-cardano-db-hasura/hasura/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ POSTGRES_USER=${POSTGRES_USER:-$(cat ${SECRET_DIR}/postgres_user)}
POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-$(cat ${SECRET_DIR}/postgres_password)}
HASURA_GRAPHQL_DATABASE_URL=postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${POSTGRES_DB}


log "Sleeping to ensure migrations are applied after db-sync starts"
sleep 15
/bin/pre-start.sh \
--db-url ${HASURA_GRAPHQL_DATABASE_URL} \
--hasura-cli-path /bin/hasura-cli \
Expand Down

0 comments on commit c46d889

Please sign in to comment.