Advertisement
Guest User

Untitled

a guest
Oct 7th, 2016
151
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.94 KB | None | 0 0
  1. web:
  2. image: nginx:latest
  3. container_name: ${PROJECT_NAME}-web
  4. ports:
  5. - "80:80"
  6. - "443:443"
  7. volumes:
  8. - ../:/${PROJECT_NAME}/
  9. - ./nginx/site.conf:/etc/nginx/conf.d/site.conf
  10. links:
  11. - 2ip-php
  12. ip-php:
  13. container_name: ${PROJECT_NAME}-php
  14. dockerfile: ./php/Dockerfile
  15. build: ./
  16. volumes:
  17. - ../:/${PROJECT_NAME}/
  18. environment:
  19. - APPLICATION_ENV=local
  20. - GITHUB_TOKEN=${GITHUB_TOKEN}
  21. links:
  22. - mysql55
  23. - mailhog
  24. mysql55:
  25. container_name: mysql55
  26. image: mysql:5.5
  27. environment:
  28. - MYSQL_ALLOW_EMPTY_PASSWORD=true
  29. - MYSQL_DATABASE=${PROJECT_NAME}
  30. - MYSQL_USER=${PROJECT_NAME}
  31. ports:
  32. - "3306:3306"
  33. volumes:
  34. - ./docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
  35. - ./mysql:/etc/mysql/conf.d
  36. - mysql55:/var/lib/mysql
  37. mailhog:
  38. image: mailhog/mailhog
  39. container_name: ${PROJECT_NAME}-mailhog
  40. ports:
  41. - "1025:1025"
  42. - "8025:8025"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement