Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- services:
- db-image:
- image: db-image
- build: ./pssql
- container_name: local-db
- environment:
- - POSTGRES_USER=postgres
- - POSTGRES_PASSWORD=121212
- ports:
- - "5432:5432"
- be-image:
- image: be-image
- build: ./backend
- container_name: backend
- volumes:
- - ./backend:/usr/src/be
- - /usr/src/be/node_modules
- links:
- - db-image:db-image
- environment:
- - DEBUG=allright:*
- - NODE_PATH=.
- ports:
- - "3000:3000"
- - "56745:56745"
- command: node_modules/.bin/nodemon --debug=56745 bin/www
- fe-image:
- image: fe-image
- build: ./frontend
- container_name: frontend
- volumes:
- - ./frontend:/usr/src/fe
- - /usr/src/fe/node_modules
- - /usr/src/fe/bower_components
- links:
- - be-image:be-image
- ports:
- - "4200:4200"
- - "49152:49152"
Add Comment
Please, Sign In to add comment