2023-10-07 10:52:15 -04:00
|
|
|
version: "3"
|
2023-10-04 10:01:11 -04:00
|
|
|
services:
|
|
|
|
nginx:
|
2023-10-05 12:15:15 -04:00
|
|
|
container_name: nginx
|
2023-10-05 09:45:59 -04:00
|
|
|
image: nginx
|
2023-10-04 10:01:11 -04:00
|
|
|
build: nginx
|
|
|
|
ports:
|
|
|
|
- "443:443"
|
2023-10-05 10:23:50 -04:00
|
|
|
volumes:
|
|
|
|
- wordpress:/var/www/wordpress
|
2023-10-05 12:15:15 -04:00
|
|
|
depends_on:
|
|
|
|
- wordpress
|
2023-10-07 10:52:15 -04:00
|
|
|
networks:
|
|
|
|
- inception
|
2023-10-07 11:01:56 -04:00
|
|
|
restart: always
|
2023-10-05 10:23:50 -04:00
|
|
|
|
|
|
|
wordpress:
|
2023-10-05 12:15:15 -04:00
|
|
|
container_name: wordpress
|
2023-10-05 10:23:50 -04:00
|
|
|
image: wordpress
|
|
|
|
build: wordpress
|
|
|
|
volumes:
|
|
|
|
- wordpress:/var/www/wordpress
|
2023-10-05 12:15:15 -04:00
|
|
|
depends_on:
|
|
|
|
- mariadb
|
|
|
|
env_file:
|
|
|
|
- .env
|
2023-10-07 10:52:15 -04:00
|
|
|
networks:
|
|
|
|
- inception
|
2023-10-07 11:01:56 -04:00
|
|
|
restart: always
|
2023-10-05 12:15:15 -04:00
|
|
|
|
|
|
|
mariadb:
|
|
|
|
container_name: mariadb
|
|
|
|
image: mariadb
|
|
|
|
build: mariadb
|
|
|
|
volumes:
|
|
|
|
- mariadb:/data
|
|
|
|
env_file:
|
|
|
|
- .env
|
2023-10-07 10:52:15 -04:00
|
|
|
networks:
|
|
|
|
- inception
|
2023-10-07 11:01:56 -04:00
|
|
|
restart: always
|
2023-10-05 10:23:50 -04:00
|
|
|
|
|
|
|
volumes:
|
2023-10-07 10:52:15 -04:00
|
|
|
|
2023-10-05 10:23:50 -04:00
|
|
|
wordpress:
|
2023-10-07 10:52:15 -04:00
|
|
|
driver: local
|
|
|
|
driver_opts:
|
|
|
|
type: 'none'
|
|
|
|
o: 'bind'
|
|
|
|
device: '/home/cchauvet/data/wp-files/'
|
|
|
|
|
2023-10-05 12:15:15 -04:00
|
|
|
mariadb:
|
2023-10-07 10:52:15 -04:00
|
|
|
driver: local
|
|
|
|
driver_opts:
|
|
|
|
type: 'none'
|
|
|
|
o: 'bind'
|
|
|
|
device: '/home/cchauvet/data/wp-db/'
|
|
|
|
|
|
|
|
|
|
|
|
networks:
|
|
|
|
inception:
|
|
|
|
driver: bridge
|