Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- web:
- build: . #builds image from my docker file
- command: carton exec plackup --port 8080 bin/app.psgi
- environment:
- - MYSQL_PASSWORD=secret
- volumes:
- - .:/code
- ports:
- - "8080:8080"
- depends_on:
- - mysql
- mysql:
- image: mysql:5.7.5
- environment:
- - MYSQL_ROOT_PASSWORD=secret
- - MYSQL_USER=root
- ports:
- - "3306:3306"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement