2017-09-05 11:40:29 +00:00
|
|
|
version: '3'
|
2016-11-17 09:18:11 +00:00
|
|
|
services:
|
2017-09-04 11:35:53 +00:00
|
|
|
auth:
|
2017-09-14 07:15:53 +00:00
|
|
|
environment:
|
|
|
|
- NODE_ENV=${NODE_ENV}
|
2017-09-05 11:40:29 +00:00
|
|
|
container_name: "${BRANCH_NAME}-auth"
|
|
|
|
image: "auth:${TAG}"
|
2016-12-14 07:43:10 +00:00
|
|
|
build:
|
2017-09-04 11:35:53 +00:00
|
|
|
context: ./services/auth
|
|
|
|
expose:
|
|
|
|
- "3000"
|
2016-12-14 07:43:10 +00:00
|
|
|
ports:
|
|
|
|
- "3000:3000"
|
2017-09-04 11:35:53 +00:00
|
|
|
|
|
|
|
salix:
|
2017-09-14 07:15:53 +00:00
|
|
|
environment:
|
|
|
|
- NODE_ENV=${NODE_ENV}
|
2017-09-05 11:40:29 +00:00
|
|
|
container_name: "${BRANCH_NAME}-salix"
|
|
|
|
image: "salix:${TAG}"
|
2017-09-14 07:15:53 +00:00
|
|
|
build:
|
2017-09-04 11:35:53 +00:00
|
|
|
context: ./services/salix
|
|
|
|
expose:
|
|
|
|
- "3001"
|
2017-09-14 07:15:53 +00:00
|
|
|
ports:
|
2017-09-04 11:35:53 +00:00
|
|
|
- "3001:3001"
|
2017-09-14 07:15:53 +00:00
|
|
|
|
2016-12-14 07:43:10 +00:00
|
|
|
client:
|
2017-09-14 07:15:53 +00:00
|
|
|
environment:
|
|
|
|
- NODE_ENV=${NODE_ENV}
|
2017-09-05 11:40:29 +00:00
|
|
|
container_name: "${BRANCH_NAME}-client"
|
|
|
|
image: "client:${TAG}"
|
2016-12-14 07:43:10 +00:00
|
|
|
build:
|
|
|
|
context: ./services/client
|
2017-09-04 11:35:53 +00:00
|
|
|
expose:
|
|
|
|
- "3002"
|
2017-09-14 07:15:53 +00:00
|
|
|
ports:
|
2017-09-04 11:35:53 +00:00
|
|
|
- "3002:3002"
|
|
|
|
|
|
|
|
mailer:
|
2017-09-14 07:15:53 +00:00
|
|
|
environment:
|
|
|
|
- NODE_ENV=${NODE_ENV}
|
2017-09-05 11:40:29 +00:00
|
|
|
container_name: "${BRANCH_NAME}-mailer"
|
|
|
|
image: "mailer:${TAG}"
|
2017-09-04 11:35:53 +00:00
|
|
|
build:
|
|
|
|
context: ./services/mailer
|
|
|
|
expose:
|
|
|
|
- "3003"
|
2017-09-14 07:15:53 +00:00
|
|
|
ports:
|
2017-09-04 11:35:53 +00:00
|
|
|
- "3003:3003"
|
|
|
|
|
|
|
|
production:
|
2017-09-14 07:15:53 +00:00
|
|
|
environment:
|
|
|
|
- NODE_ENV=${NODE_ENV}
|
2017-09-05 11:40:29 +00:00
|
|
|
container_name: "${BRANCH_NAME}-production"
|
|
|
|
image: "production:${TAG}"
|
2017-09-04 11:35:53 +00:00
|
|
|
build:
|
|
|
|
context: ./services/production
|
|
|
|
expose:
|
|
|
|
- "3004"
|
2017-09-14 07:15:53 +00:00
|
|
|
ports:
|
2017-09-04 11:35:53 +00:00
|
|
|
- "3004:3004"
|
|
|
|
|
|
|
|
nginx:
|
2017-09-05 11:40:29 +00:00
|
|
|
container_name: "${BRANCH_NAME}-nginx"
|
|
|
|
image: "nginx:${TAG}"
|
2017-09-14 07:15:53 +00:00
|
|
|
privileged: true
|
|
|
|
build:
|
2017-09-04 11:35:53 +00:00
|
|
|
context: ./services/nginx
|
2017-09-14 07:15:53 +00:00
|
|
|
expose:
|
|
|
|
- "80"
|
|
|
|
ports:
|
|
|
|
- "80:80"
|
2017-09-04 11:35:53 +00:00
|
|
|
links:
|
2017-09-14 07:15:53 +00:00
|
|
|
- "auth:${BRANCH_NAME}-auth"
|
|
|
|
- "salix:${BRANCH_NAME}-salix"
|
|
|
|
- "client:${BRANCH_NAME}-client"
|
|
|
|
- "mailer:${BRANCH_NAME}-mailer"
|
|
|
|
- "production:${BRANCH_NAME}-production"
|