Re-add restart policy
This commit is contained in:
parent
c14a2f53b0
commit
b26704791b
|
@ -5,6 +5,7 @@ services:
|
|||
db:
|
||||
container_name: "${APP_NAME}_db"
|
||||
image: mariadb:${DC_MARIADB_VERSION}
|
||||
restart: on-failure
|
||||
environment:
|
||||
MYSQL_DATABASE: ${WORDPRESS_DB_NAME}
|
||||
MYSQL_USER: ${WORDPRESS_DB_USER}
|
||||
|
@ -26,6 +27,7 @@ services:
|
|||
|
||||
wordpress-www:
|
||||
container_name: "${APP_NAME}_wordpress-www"
|
||||
restart: on-failure
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
|
@ -46,6 +48,7 @@ services:
|
|||
|
||||
wordpress-cli:
|
||||
container_name: "${APP_NAME}_wordpress-cli"
|
||||
restart: on-failure
|
||||
depends_on:
|
||||
- wordpress-www
|
||||
build:
|
||||
|
|
Loading…
Reference in New Issue