Merge pull request #340 from r4881t/p0

Fixing issue with docker run
This commit is contained in:
Marko Kraemer 2025-05-16 21:12:55 +02:00 committed by GitHub
commit 26032569d0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 18 additions and 1 deletions

View File

@ -12,6 +12,20 @@ services:
timeout: 5s
retries: 3
rabbitmq:
image: rabbitmq
# ports:
# - "127.0.0.1:5672:5672"
volumes:
- rabbitmq_data:/var/lib/rabbitmq
restart: unless-stopped
healthcheck:
test: ["CMD", "rabbitmq-diagnostics", "-q", "ping"]
interval: 10s
timeout: 5s
retries: 5
start_period: 10s
backend:
build:
context: ./backend
@ -29,6 +43,8 @@ services:
depends_on:
redis:
condition: service_healthy
rabbitmq:
condition: service_healthy
frontend:
build:
@ -45,4 +61,5 @@ services:
- backend
volumes:
redis-data:
redis-data:
rabbitmq_data: