Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. version: "3.6"
  2. services:
  3. smartline-mysql:
  4. restart: always
  5. container_name: smartline-mysql
  6. image: mysql:5.7.22
  7. networks:
  8. - smartline
  9. volumes:
  10. - type: volume
  11. source: mysql
  12. target: /var/lib/mysql
  13. environment:
  14. - MYSQL_ROOT_PASSWORD=root
  15. - MYSQL_DATABASE=smartline
  16. - MYSQL_USER=smartline
  17. - MYSQL_PASSWORD=
  18.  
  19. # Nginx + fpm containers
  20. smartline-php:
  21. restart: always
  22. container_name: smartline-php
  23. #image: parlevel/smartline-php
  24. image: gcr.io//smartline-php:1.0
  25. networks:
  26. - smartline
  27.  
  28. smartline-nginx:
  29. restart: always
  30. container_name: smartline-nginx
  31. #image: parlevel/smartline-nginx
  32. image: gcr.io//smartline-nginx:1.0
  33. depends_on:
  34. - smartline-php
  35. networks:
  36. - smartline
  37. ports:
  38. - 80:80
  39.  
  40. smartline-websocket:
  41. restart: always
  42. container_name: smartline-websocket
  43. #image: parlevel/smartline-websocket
  44. image: gcr.io//smartline-websocket:1.0
  45. ports:
  46. - 6001:6001
  47. networks:
  48. - smartline
  49.  
  50. networks:
  51. ? smartline
  52.  
  53. volumes:
  54. ? mysql
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement