Guest User

Untitled

a guest
Nov 26th, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.86 KB | None | 0 0
  1. version: '2'
  2. services:
  3. db-image:
  4. image: db-image
  5. build: ./pssql
  6. container_name: local-db
  7. environment:
  8. - POSTGRES_USER=postgres
  9. - POSTGRES_PASSWORD=121212
  10. ports:
  11. - "5432:5432"
  12.  
  13. be-image:
  14. image: be-image
  15. build: ./backend
  16. container_name: backend
  17. volumes:
  18. - ./backend:/usr/src/be
  19. - /usr/src/be/node_modules
  20. links:
  21. - db-image:db-image
  22. environment:
  23. - DEBUG=allright:*
  24. - NODE_PATH=.
  25. ports:
  26. - "3000:3000"
  27. - "56745:56745"
  28. command: node_modules/.bin/nodemon --debug=56745 bin/www
  29.  
  30. fe-image:
  31. image: fe-image
  32. build: ./frontend
  33. container_name: frontend
  34. volumes:
  35. - ./frontend:/usr/src/fe
  36. - /usr/src/fe/node_modules
  37. - /usr/src/fe/bower_components
  38. links:
  39. - be-image:be-image
  40. ports:
  41. - "4200:4200"
  42. - "49152:49152"
Add Comment
Please, Sign In to add comment