Advertisement
Guest User

Untitled

a guest
Feb 9th, 2016
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. web:
  2. image: mtr/nginx
  3. ports:
  4. - "80:80"
  5. volumes:
  6. - ./var:/var/www
  7. - ./etc/nginx/sites-enabled:/etc/nginx/sites-enabled/
  8. links:
  9. - php
  10. - db
  11.  
  12. php:
  13. image: rossriley/php56-fpm
  14. volumes:
  15. - ./var:/var/www
  16. - ./etc/php5/php-fpm.conf:/etc/php5/fpm/php-fpm.conf
  17. links:
  18. - db
  19.  
  20. db:
  21. image: sameersbn/mysql
  22. ports:
  23. - "3306:3306"
  24. volumes:
  25. - /var/lib/mysql
  26. environment:
  27. - DB_NAME=mtr_tables
  28. - DB_USER=mtr_table
  29. - DB_PASS=mtrpass
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement