Skip to content

Commit b69aa39

Browse files
authored
Upgraded docker-compose-wait and bumped the wait timeout to 60 (#826)
1 parent 58b5b84 commit b69aa39

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ services:
1717
- ${HASURA_PORT}:8080
1818
environment:
1919
WAIT_HOSTS: database:5432, ${BACKEND_HOST:-backend:4000}
20+
# Backend can take more than 30 seconds to start completely, bump the timeout
21+
WAIT_TIMEOUT: 60
2022
HASURA_GRAPHQL_SERVER_PORT: ${HASURA_PORT:-8080}
2123
HASURA_GRAPHQL_DATABASE_URL: postgres://${DATABASE_USER}:${DATABASE_PASSWORD}@database:5432/${DATABASE_NAME}
2224
HASURA_GRAPHQL_ADMIN_SECRET: ${HASURA_GRAPHQL_ADMIN_SECRET}

hasura/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM hasura/graphql-engine:v1.3.3.cli-migrations-v2
22

3-
ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.7.3/wait /wait
3+
ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.9.0/wait /wait
44
RUN chmod +x /wait
55

66
## Default setup

0 commit comments

Comments
 (0)