Advertisement
Guest User

Untitled

a guest
Dec 28th, 2017
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. version: "3"
  2.  
  3. services:
  4.  
  5. app:
  6. build: docker/php
  7. volumes:
  8. - ./../:/projects
  9. ports:
  10. - 8080:8080
  11. depends_on:
  12. - db
  13. environment:
  14. XDEBUG_CONFIG: "idekey=PHPSTORM remote_enable=On remote_connect_back=On"
  15.  
  16. nginx:
  17. image: nginx:1.12-alpine
  18. ports:
  19. - 80:80
  20. volumes:
  21. - .././:/projects
  22. - ./docker/nginx/nginx.conf:/etc/nginx/nginx.conf
  23. - ./docker/nginx/vhosts:/etc/nginx/conf.d/
  24. depends_on:
  25. - app
  26.  
  27. db:
  28. image: mariadb
  29. volumes:
  30. - ./docker/db:/var/lib/mysql
  31. ports:
  32. - 3306:3306
  33. environment:
  34. MYSQL_ROOT_PASSWORD: root
  35. MYSQL_DATABASE: iav2
  36. MYSQL_USER: iav2
  37. MYSQL_PASSWORD: iav2
  38.  
  39. myadmin:
  40. image: phpmyadmin/phpmyadmin
  41. container_name: phpmyadmin
  42. ports:
  43. - 8000:80
  44. restart: always
  45. depends_on:
  46. - db
  47.  
  48. centrifugo:
  49. image: centrifugo/centrifugo
  50. container_name: centrifugo
  51. ports:
  52. - 8000:8000
  53. volumes:
  54. - ./docker/centrifugo/:/centrifugo
  55. command: [centrifugo, -c, config.json]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement