Add restart policy for RabbitMQ and Postgres services in Docker Compose

Fix #11
This commit is contained in:
Edgar P. Burkhart 2025-06-16 15:44:37 +02:00
parent 951128147c
commit c639307cfb
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -32,10 +32,12 @@ services:
rabbitmq:
image: rabbitmq
container_name: musik_rabbitmq
restart: unless-stopped
postgres:
image: postgres:17
container_name: musik_postgres
restart: unless-stopped
env_file: stack.env
volumes:
- /docker/musik/postgres:/var/lib/postgresql/data