docker compose

This commit is contained in:
Vicente Falco 2017-11-08 10:54:59 +01:00
parent 0a107ba0bc
commit a82de78040
1 changed files with 13 additions and 0 deletions

View File

@ -64,6 +64,19 @@ services:
ports:
- "3004:3004"
route:
environment:
- NODE_ENV=${NODE_ENV}
container_name: "${BRANCH_NAME}-route"
image: "route:${TAG}"
build:
context: ./services
dockerfile: /route/Dockerfile
expose:
- "3005"
ports:
- "3005:3005"
nginx:
container_name: "${BRANCH_NAME}-nginx"
image: "nginx:${TAG}"