Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
4 changes: 2 additions & 2 deletions docker-compose.yml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ services:
environment:
KONG_DATABASE: postgres
KONG_PG_HOST: kong-database
command: sh -c "(kong migrations up || kong migrations bootstrap) && touch migrations_run && sleep 30"
command: sh -c "(kong migrations up || kong migrations bootstrap || kong migrations finish) && touch /tmp/migrations_run && sleep 30"
healthcheck:
test: "if [[ -f migrations_run ]] ; then exit 0; else exit 1; fi"
test: "if [[ -f /tmp/migrations_run ]] ; then exit 0; else exit 1; fi"
interval: 10s
timeout: 5s
retries: 5
Expand Down
2 changes: 1 addition & 1 deletion kong/Dockerfile
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1 +1 @@
FROM kong:1.0.0rc3-alpine
FROM kong:latest