Skip to content

Commit

Permalink
chore: fix docker-compose.yml syntax
Browse files Browse the repository at this point in the history
The error was:
parsing docker-compose.yaml: yaml: line 37: did not find expected '-' indicator

Correction for 1abdf9b commit.

Relate to #13
  • Loading branch information
php-coder committed Mar 29, 2024
1 parent 1abdf9b commit 77b1a26
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ services:
- POSTGRES_DB=test
volumes:
- ./categories.postgres.sql:/docker-entrypoint-initdb.d/categories.sql
healthcheck:
# Note: double dollar sign protects variables from docker compose interpolation
test: "pg_isready --user $$POSTGRES_USER --quiet --timeout 0"
interval: 1s
Expand Down

0 comments on commit 77b1a26

Please sign in to comment.