Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- ardiweb:
- build: .
- ports:
- - "8080:80"
- volumes:
- - ./docroot:/var/www/html
- links:
- - ardimysql
- working_dir: /var/www/html
- expose:
- - "8080"
- ardimysql:
- image: mysql:5.6
- environment:
- MYSQL_ROOT_PASSWORD: brag
- MYSQL_DATABASE: bragvideo
- MYSQL_USER: bragvideo
- MYSQL_PASSWORD: bragvideo
- expose:
- - "3306"
- ports:
- - "3307:3306"
- command: mysqld --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
- volumes:
- - ./docker/config/mysql:/etc/mysql/conf.d
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement