USe unless-stopped instead of always

This commit is contained in:
Stefan Bethke 2024-09-08 17:45:00 +02:00
commit dfbc8e58a9
6 changed files with 15 additions and 15 deletions

View file

@ -10,7 +10,7 @@ services:
- "POSTGRES_DB=pretalx"
volumes:
- database:/var/lib/postgresql/data
restart: always
restart: unless-stopped
redis:
image: redis:latest
@ -20,7 +20,7 @@ services:
static:
image: docker.io/library/nginx
restart: always
restart: unless-stopped
volumes:
- public:/usr/share/nginx/html
ports: