We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e2f076 commit 1abdf9bCopy full SHA for 1abdf9b
docker/docker-compose.yaml
@@ -36,6 +36,12 @@ services:
36
- POSTGRES_DB=test
37
volumes:
38
- ./categories.postgres.sql:/docker-entrypoint-initdb.d/categories.sql
39
+ # Note: double dollar sign protects variables from docker compose interpolation
40
+ test: "pg_isready --user $$POSTGRES_USER --quiet --timeout 0"
41
+ interval: 1s
42
+ timeout: 5s
43
+ retries: 10
44
+ start_period: 1s
45
46
express-js:
47
build: ../examples/js/express/mysql
0 commit comments