salix/docker-compose.yml

65 lines
1.5 KiB
YAML
Raw Normal View History

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-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-05 11:40:29 +00:00
container_name: "${BRANCH_NAME}-salix"
image: "salix:${TAG}"
2016-12-14 07:43:10 +00:00
build:
2017-09-04 11:35:53 +00:00
context: ./services/salix
expose:
- "3001"
2016-12-14 07:43:10 +00:00
ports:
2017-09-04 11:35:53 +00:00
- "3001:3001"
2016-12-14 07:43:10 +00:00
client:
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"
ports:
- "3002:3002"
mailer:
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"
ports:
- "3003:3003"
production:
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"
ports:
- "3004:3004"
nginx:
2017-09-05 11:40:29 +00:00
container_name: "${BRANCH_NAME}-nginx"
image: "nginx:${TAG}"
2017-09-04 11:35:53 +00:00
build:
context: ./services/nginx
2016-12-14 07:43:10 +00:00
ports:
2017-09-04 11:35:53 +00:00
- "80:8080"
links:
2017-09-05 11:40:29 +00:00
- "auth:"${BRANCH_NAME}-auth"
- "salix:"${BRANCH_NAME}-salix"
- "client:"${BRANCH_NAME}-client"
- "mailer:"${BRANCH_NAME}-mailer"
- "production:"${BRANCH_NAME}-production"