USe unless-stopped instead of always
This commit is contained in:
parent
475a758f83
commit
dfbc8e58a9
6 changed files with 15 additions and 15 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue