Advertisement
Guest User

Untitled

a guest
Oct 8th, 2017
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. version: '2'
  2. services:
  3. db:
  4. image: mysql:5.7
  5. environment:
  6. MYSQL_DATABASE: deskree
  7. MYSQL_USER: root
  8. MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
  9. redis:
  10. image: redis:2.8
  11. php:
  12. image: webdevops/php:7.1
  13. container_name: php
  14. volumes:
  15. - "./:/app"
  16. - "~/.composer:/root/.composer"
  17. nginx:
  18. depends_on:
  19. - php
  20. image: webdevops/nginx
  21. environment:
  22. WEB_DOCUMENT_ROOT: /app/public
  23. WEB_DOCUMENT_INDEX: index.php
  24. WEB_PHP_SOCKET: php:9000
  25. volumes:
  26. - "./:/app"
  27. ports:
  28. - "80:80"
  29. node:
  30. image: node
  31. user: node
  32. ports:
  33. - "6001:6001"
  34. volumes:
  35. - .:/app
  36. links:
  37. - redis
  38. - nginx
  39. command: bash -c "cd app; npm i; npm install -g laravel-echo-server; npm run start"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement