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=hedgedoc"
volumes:
- database:/var/lib/postgresql/data
restart: always
restart: unless-stopped
app:
#image: quay.io/hedgedoc/hedgedoc:1.9.9
@ -42,7 +42,7 @@ services:
- uploads:/hedgedoc/public/uploads
ports:
- "127.0.0.1:3000:3000"
restart: always
restart: unless-stopped
depends_on:
- database