Skip to content

Commit e0b4bd3

Browse files
author
Ilyas Gasanov
committed
Fix docker-compose.yml
1 parent dee0ccf commit e0b4bd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ services:
1111
volumes:
1212
- postgres_data:/var/lib/postgresql/data
1313
healthcheck:
14-
test: pg_isready
14+
test: [CMD-SHELL, 'pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}']
1515
start_period: 5s
1616
interval: 30s
1717
timeout: 5s
@@ -82,7 +82,7 @@ services:
8282
dockerfile: docker/Dockerfile.worker
8383
context: .
8484
target: prod
85-
command: worker --events --queues 123-test_queue # Queue.slug
85+
command: worker --events --queues 123-test_queue # Queue.slug must be created in advance!
8686
volumes:
8787
- ./config.docker.yml:/app/config.yml
8888
depends_on:

0 commit comments

Comments
 (0)