all three containers works with alpine and user are configured
This commit is contained in:
@@ -10,7 +10,7 @@ version: "3.8"
|
||||
services:
|
||||
# ---------------------------------
|
||||
nginx:
|
||||
restart: on-failure
|
||||
# restart: on-failure
|
||||
networks:
|
||||
- inception
|
||||
ports:
|
||||
@@ -24,12 +24,12 @@ services:
|
||||
condition: service_started
|
||||
# ---------------------------------
|
||||
mariadb:
|
||||
restart: on-failure
|
||||
# restart: on-failure
|
||||
env_file: .env
|
||||
networks:
|
||||
- inception
|
||||
volumes:
|
||||
- db_volume:/var/lib/mysql
|
||||
# volumes:
|
||||
# - db_volume:/var/lib/mysql
|
||||
build:
|
||||
context: ./requirements/mariadb
|
||||
args:
|
||||
@@ -40,13 +40,16 @@ services:
|
||||
container_name: mariadb_container
|
||||
# ---------------------------------
|
||||
wordpress:
|
||||
restart: on-failure
|
||||
# restart: on-failure
|
||||
env_file: ./.env
|
||||
networks:
|
||||
- inception
|
||||
volumes:
|
||||
- wp_volume:/var/www/html
|
||||
build: ./requirements/wordpress
|
||||
build:
|
||||
context: ./requirements/wordpress
|
||||
args:
|
||||
- WP_DIR=${WP_DIR}
|
||||
image: wordpress
|
||||
container_name: wordpress_container
|
||||
depends_on:
|
||||
|
||||
Reference in New Issue
Block a user