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

@ -15,7 +15,7 @@ services:
- database:/var/lib/mysql
networks:
backend:
restart: always
restart: unless-stopped
app:
image: docker.io/library/wordpress:6-php8.1
@ -32,7 +32,7 @@ services:
networks:
backend:
frontend:
restart: always
restart: unless-stopped
depends_on:
- database