salix/docker-compose.yml

65 lines
1.5 KiB
YAML

version: '3'
services:
auth:
container_name: "${BRANCH_NAME}-auth"
image: "auth:${TAG}"
build:
context: ./services/auth
expose:
- "3000"
ports:
- "3000:3000"
salix:
container_name: "${BRANCH_NAME}-salix"
image: "salix:${TAG}"
build:
context: ./services/salix
expose:
- "3001"
ports:
- "3001:3001"
client:
container_name: "${BRANCH_NAME}-client"
image: "client:${TAG}"
build:
context: ./services/client
expose:
- "3002"
ports:
- "3002:3002"
mailer:
container_name: "${BRANCH_NAME}-mailer"
image: "mailer:${TAG}"
build:
context: ./services/mailer
expose:
- "3003"
ports:
- "3003:3003"
production:
container_name: "${BRANCH_NAME}-production"
image: "production:${TAG}"
build:
context: ./services/production
expose:
- "3004"
ports:
- "3004:3004"
nginx:
container_name: "${BRANCH_NAME}-nginx"
image: "nginx:${TAG}"
build:
context: ./services/nginx
ports:
- "80:8080"
links:
- "auth:"${BRANCH_NAME}-auth"
- "salix:"${BRANCH_NAME}-salix"
- "client:"${BRANCH_NAME}-client"
- "mailer:"${BRANCH_NAME}-mailer"
- "production:"${BRANCH_NAME}-production"