go mario db
This commit is contained in:
+15
-11
@@ -1,10 +1,15 @@
|
||||
version: "3"
|
||||
|
||||
networks:
|
||||
inception:
|
||||
driver: bridge
|
||||
|
||||
services:
|
||||
nginx:
|
||||
container_name: nginx
|
||||
image: nginx
|
||||
volumes:
|
||||
- wordpress:/var/www/wordpress
|
||||
- wp:/var/www/html
|
||||
networks:
|
||||
- inception
|
||||
depends_on:
|
||||
@@ -20,8 +25,9 @@
|
||||
wordpress:
|
||||
container_name: wordpress
|
||||
env_file: .env
|
||||
image: wordpress
|
||||
volumes:
|
||||
- wordpress:/var/www/wordpress
|
||||
- wp:/var/www/html
|
||||
networks:
|
||||
- inception
|
||||
build:
|
||||
@@ -40,28 +46,26 @@
|
||||
build:
|
||||
context: ./requirements/mariadb
|
||||
dockerfile: Dockerfile
|
||||
image: mariadb
|
||||
env_file: .env
|
||||
volumes:
|
||||
- mariadb:/var/lib/mysql
|
||||
- db:/var/lib/mysql
|
||||
restart: always
|
||||
expose:
|
||||
- "3306"
|
||||
|
||||
volumes:
|
||||
wordpress:
|
||||
name: wordpress
|
||||
wp:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
o: bind
|
||||
device: /home/yantoine/data/wordpress
|
||||
mariadb:
|
||||
device: ${HOME}/data/wp
|
||||
db:
|
||||
driver: local
|
||||
driver_opts:
|
||||
type: none
|
||||
o: bind
|
||||
device: /home/yantoine/data/mariadb
|
||||
device: ${HOME}/data/db
|
||||
|
||||
|
||||
networks:
|
||||
inception:
|
||||
driver: bridge
|
||||
|
||||
Reference in New Issue
Block a user