Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.1'
- services:
- db_mysql:
- build: ./docker/mysql
- networks:
- - backend
- ports:
- - 3306:3306
- volumes:
- - /var/lib/mysql-espace-pro:/var/lib/mysql
- command: --default-authentication-plugin=mysql_native_password
- environment:
- - MYSQL_ROOT_USER=root
- - MYSQL_ROOT_PASSWORD=root
- front_apache:
- build: ./docker
- depends_on:
- - db_mysql
- networks:
- - frontend
- - backend
- ports:
- - 80:80
- - 443:443
- domainname: alptis.local
- dns:
- - 172.16.54.200
- - 172.16.54.201
- dns_search:
- - alptis.local
- volumes:
- - /etc/passwd:/etc/passwd:ro
- - /etc/group:/etc/group:ro
- - /etc/shadow:/etc/shadow:ro
- - ./profiling/:/var/www/html/espace-pro/profiling
- - ./:/var/www/html/espace-pro
- - ./docker/logs/apache2:/var/log/apache2
- - ./docker/sites-enabled:/etc/apache2/sites-enabled
- environment:
- - ALLOW_OVERRIDE=true
- networks:
- frontend:
- driver: bridge
- backend:
- driver: bridge
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement