added protections when installing wp

This commit is contained in:
hulamy
2022-09-25 22:11:05 +02:00
parent 7a6734045c
commit 10877ee675
4 changed files with 45 additions and 16 deletions

View File

@@ -10,12 +10,12 @@ version: "3.8"
services:
# ---------------------------------
nginx:
# restart: on-failure
#restart: on-failure
networks:
- inception
ports:
- "443:443"
# - "80:80"
#- "80:80"
volumes:
- wp_volume:/var/www/html
build: ./requirements/nginx
@@ -26,7 +26,7 @@ services:
condition: service_started
# ---------------------------------
mariadb:
# restart: on-failure
#restart: on-failure
env_file: .env
networks:
- inception
@@ -48,7 +48,7 @@ services:
container_name: mariadb_container
# ---------------------------------
wordpress:
# restart: on-failure
#restart: on-failure
env_file: ./.env
networks:
- inception