Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- db:
- image: mysql:5.7
- environment:
- MYSQL_ROOT_PASSWORD: root
- MYSQL_DATABASE: test
- MYSQL_USER: devuser
- MYSQL_PASSWORD: devpass
- ports:
- - "9906:3306"
- web:
- image: php:7.2.2-apache
- container_name: php_web
- depends_on:
- - db
- volumes:
- - ./web/:/var/www/html/
- ports:
- - "8100:80"
- stdin_open: true
- tty: true
Add Comment
Please, Sign In to add comment