69 lines
1.6 KiB
YAML
69 lines
1.6 KiB
YAML
version: '2'
|
|
environment:
|
|
- branchName=${env.BRANCH_NAME}
|
|
- NODE_ENV=
|
|
- dockerHost=
|
|
services:
|
|
auth:
|
|
container_name: ${branchName}-auth
|
|
docker_host: ${dockerHost}
|
|
build:
|
|
context: ./services/auth
|
|
expose:
|
|
- "3000"
|
|
ports:
|
|
- "3000:3000"
|
|
|
|
salix:
|
|
container_name: ${branchName}-salix
|
|
docker_host: ${dockerHost}
|
|
build:
|
|
context: ./services/salix
|
|
expose:
|
|
- "3001"
|
|
ports:
|
|
- "3001:3001"
|
|
|
|
client:
|
|
container_name: ${branchName}-client
|
|
docker_host: ${dockerHost}
|
|
build:
|
|
context: ./services/client
|
|
expose:
|
|
- "3002"
|
|
ports:
|
|
- "3002:3002"
|
|
|
|
mailer:
|
|
container_name: ${branchName}-mailer
|
|
docker_host: ${dockerHost}
|
|
build:
|
|
context: ./services/mailer
|
|
expose:
|
|
- "3003"
|
|
ports:
|
|
- "3003:3003"
|
|
|
|
production:
|
|
container_name: ${branchName}-production
|
|
docker_host: ${dockerHost}
|
|
build:
|
|
context: ./services/production
|
|
expose:
|
|
- "3004"
|
|
ports:
|
|
- "3004:3004"
|
|
|
|
nginx:
|
|
container_name: ${branchName}-nginx
|
|
docker_host: ${dockerHost}
|
|
build:
|
|
context: ./services/nginx
|
|
ports:
|
|
- "80:8080"
|
|
links:
|
|
- "auth:${branchName}-auth"
|
|
- "salix:${branchName}-salix"
|
|
- "client:${branchName}-client"
|
|
- "mailer:${branchName}-mailer"
|
|
- "production:${branchName}-production" |