Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.2'
- services:
- backend:
- build: backend
- ports:
- - 21080:80
- volumes:
- # Re-use local composer cache via host-volume
- - ~/.composer-docker/cache:/root/.composer/cache:delegated
- # Mount source-code for development
- - ./:/app
- mysql_teste:
- image: mysql:5.7
- ports:
- - 33061:3306
- volumes:
- - ./dump.sql:/docker-entrypoint-initdb.d/dump.sql
- environment:
- - MYSQL_ROOT_PASSWORD=verysecret
- - MYSQL_DATABASE=yii2advanced
- - MYSQL_USER=yii2advanced
- - MYSQL_PASSWORD=secret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement