Advertisement
Guest User

Untitled

a guest
Sep 29th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. version: '2'
  2. services:
  3. web:
  4. build: . #builds image from my docker file
  5. command: carton exec plackup --port 8080 bin/app.psgi
  6. environment:
  7. - MYSQL_PASSWORD=secret
  8. volumes:
  9. - .:/code
  10. ports:
  11. - "8080:8080"
  12. depends_on:
  13. - mysql
  14.  
  15. mysql:
  16. image: mysql:5.7.5
  17.  
  18. environment:
  19. - MYSQL_ROOT_PASSWORD=secret
  20. - MYSQL_USER=root
  21. ports:
  22. - "3306:3306"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement