bla
This commit is contained in:
parent
5857f94a43
commit
0ac30eb1ea
@ -0,0 +1,29 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
nginx:
|
||||
image: ./srcs/requirements/nginx/Dockerfile
|
||||
container_name: nginx
|
||||
restart: always
|
||||
volumes:
|
||||
- /data/nginx/config:/etc/nginx
|
||||
- /data/nginx/log/error.log:/var/log/error.log
|
||||
- /data/nginx/log/access.log:/var/log/access.log
|
||||
- /etc/letsencrypt/:/etc/letsencrypt/
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
ports:
|
||||
- 80:80
|
||||
- 443:443
|
||||
mariadb:
|
||||
image: ./srcs/requirements/mariadb/Dockerfile
|
||||
container_name: mariadb
|
||||
restart: always
|
||||
volumes:
|
||||
- /data/mariadb/data:/var/lib/mysql
|
||||
- /data/mariadb/config:/etc/mysql/conf.d
|
||||
- /data/mariadb/logs:/var/log/mysql
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
||||
networks:
|
||||
wordpress:
|
||||
external: true
|
Loading…
Reference in New Issue
Block a user