cr-connect-bpmn/docker/docker-compose.yml

96 lines
2.2 KiB
YAML
Raw Normal View History

version: "3.3"
services:
db:
container_name: db
image: sartography/cr-connect-db:$E2E_TAG
ports:
- "5432:5432"
environment:
- POSTGRES_USER=crc_user
- POSTGRES_PASSWORD=crc_pass
- POSTGRES_MULTIPLE_DATABASES=crc_test,pb_test
healthcheck:
test: ["CMD", "pg_isready"]
2020-06-17 02:40:26 +00:00
interval: 10s
timeout: 5s
retries: 10
2020-06-17 02:40:26 +00:00
pb:
container_name: pb
depends_on:
- db
2020-06-17 02:40:26 +00:00
image: sartography/protocol-builder-mock:$E2E_TAG
environment:
- APPLICATION_ROOT=/
2020-06-17 02:40:26 +00:00
- CORS_ALLOW_ORIGINS=localhost:5000,backend:5000,localhost:5002,bpmn:5002,localhost:4200,frontend:4200
2020-05-22 19:12:59 +00:00
- DB_HOST=db
2020-06-17 02:40:26 +00:00
- DB_NAME=pb_test
- DB_PASSWORD=crc_pass
2020-05-22 19:12:59 +00:00
- DB_PORT=5432
- DB_USER=crc_user
2020-06-17 02:40:26 +00:00
- PORT0=5001
- UPGRADE_DB=true
ports:
2020-06-17 02:40:26 +00:00
- "5001:5001"
command: ./wait-for-it.sh db:5432 -t 0 -- ./docker_run.sh
2020-06-17 02:40:26 +00:00
backend:
container_name: backend
depends_on:
- db
2020-06-17 02:40:26 +00:00
- pb
image: sartography/cr-connect-workflow:$E2E_TAG
environment:
- APPLICATION_ROOT=/
2020-06-17 02:40:26 +00:00
- CORS_ALLOW_ORIGINS=localhost:5002,bpmn:5002,localhost:4200,frontend:4200
- DB_HOST=db
2020-06-17 02:40:26 +00:00
- DB_NAME=crc_test
2020-06-14 03:36:48 +00:00
- DB_PASSWORD=crc_pass
- DB_PORT=5432
2020-06-14 03:36:48 +00:00
- DB_USER=crc_user
2020-06-17 02:40:26 +00:00
- DEVELOPMENT=true
- LDAP_URL=mock
- PB_BASE_URL=http://pb:5001/v2.0/
- PB_ENABLED=true
- PORT0=5000
- PRODUCTION=false
- RESET_DB=true
- TESTING=false
- UPGRADE_DB=true
ports:
2020-06-17 02:40:26 +00:00
- "5000:5000"
command: ./wait-for-it.sh pb:5001 -t 0 -- ./docker_run.sh
# bpmn:
# container_name: bpmn
# depends_on:
# - db
# - backend
# image: sartography/cr-connect-bpmn:dev
# environment:
# - API_URL=http://localhost:5000/api/v1.0
# - BASE_HREF=/bpmn/
# - DEPLOY_URL=/bpmn/
# - HOME_ROUTE=home
# - PORT0=5002
# - PRODUCTION=false
# ports:
# - "5002:5002"
#
# frontend:
# container_name: frontend
# depends_on:
# - db
# - backend
# image: sartography/cr-connect-frontend:dev
# environment:
# - API_URL=http://localhost:5000/api/v1.0
# - BASE_HREF=/app/
# - DEPLOY_URL=/app/
# - HOME_ROUTE=home
# - PORT0=4200
# - PRODUCTION=false
# ports:
# - "4200:4200"