2020-02-07 03:23:34 +00:00
|
|
|
version: "3.3"
|
2020-02-07 03:04:01 +00:00
|
|
|
services:
|
|
|
|
db:
|
|
|
|
container_name: db
|
2020-05-26 18:48:31 +00:00
|
|
|
image: sartography/cr-connect-db:dev
|
2020-02-07 03:04:01 +00:00
|
|
|
ports:
|
2020-05-22 14:15:15 +00:00
|
|
|
- "5432:5432"
|
2020-02-07 03:04:01 +00:00
|
|
|
environment:
|
2020-05-26 18:48:31 +00:00
|
|
|
- POSTGRES_USER=rrt_user
|
|
|
|
- POSTGRES_PASSWORD=rrt_pass
|
|
|
|
- POSTGRES_MULTIPLE_DATABASES=rrt
|
2020-02-07 03:04:01 +00:00
|
|
|
healthcheck:
|
2020-04-14 20:22:34 +00:00
|
|
|
test: ["CMD", "pg_isready"]
|
2020-02-07 03:04:01 +00:00
|
|
|
timeout: 20s
|
|
|
|
retries: 10
|
2020-05-26 18:48:31 +00:00
|
|
|
|
|
|
|
backend:
|
|
|
|
container_name: backend
|
2020-05-23 01:14:27 +00:00
|
|
|
depends_on:
|
|
|
|
- db
|
2020-05-26 18:48:31 +00:00
|
|
|
image: sartography/cr-connect-workflow:dev
|
2020-04-14 20:22:34 +00:00
|
|
|
environment:
|
2020-05-26 18:48:31 +00:00
|
|
|
- APPLICATION_ROOT=/api
|
|
|
|
- CORS_ALLOW_ORIGINS=localhost:5002,bpmn:5002,localhost:4200,frontend:4200
|
2020-05-22 19:12:59 +00:00
|
|
|
- DB_HOST=db
|
2020-05-26 18:48:31 +00:00
|
|
|
- DB_NAME=rrt
|
|
|
|
- DB_PASSWORD=rrt_pass
|
2020-05-22 19:12:59 +00:00
|
|
|
- DB_PORT=5432
|
2020-05-26 18:48:31 +00:00
|
|
|
- DB_USER=rrt_user
|
|
|
|
- LDAP_URL=ldap.virginia.edu
|
|
|
|
- PB_ENABLED=false
|
|
|
|
- PORT0=5000
|
|
|
|
- RESET_DB=true
|
|
|
|
- UPGRADE_DB=true
|
2020-04-14 20:22:34 +00:00
|
|
|
ports:
|
2020-05-26 18:48:31 +00:00
|
|
|
- "5000:5000"
|
2020-04-14 20:22:34 +00:00
|
|
|
command: ./wait-for-it.sh db:5432 -t 0 -- ./docker_run.sh
|
|
|
|
|
2020-05-26 18:48:31 +00:00
|
|
|
bpmn:
|
|
|
|
container_name: bpmn
|
|
|
|
depends_on:
|
|
|
|
- db
|
|
|
|
- backend
|
2020-05-26 19:16:00 +00:00
|
|
|
image: sartography/cr-connect-bpmn:dev
|
2020-05-26 18:48:31 +00:00
|
|
|
environment:
|
|
|
|
- API_URL=http://localhost:5000/api/v1.0
|
|
|
|
- BASE_HREF=/bpmn/
|
|
|
|
- DEPLOY_URL=/bpmn/
|
|
|
|
- HOME_ROUTE=home
|
|
|
|
- PORT0=5002
|
|
|
|
- PRODUCTION=false
|
2020-05-11 17:46:26 +00:00
|
|
|
ports:
|
2020-05-26 18:48:31 +00:00
|
|
|
- "5002:5002"
|
2020-05-23 01:14:27 +00:00
|
|
|
|
2020-05-26 18:48:31 +00:00
|
|
|
frontend:
|
|
|
|
container_name: frontend
|
2020-05-23 01:14:27 +00:00
|
|
|
depends_on:
|
|
|
|
- db
|
2020-05-26 18:48:31 +00:00
|
|
|
- backend
|
2020-05-26 19:16:00 +00:00
|
|
|
image: sartography/cr-connect-frontend:dev
|
2020-05-23 01:14:27 +00:00
|
|
|
environment:
|
2020-05-26 18:48:31 +00:00
|
|
|
- API_URL=http://localhost:5000/api/v1.0
|
|
|
|
- BASE_HREF=/app/
|
|
|
|
- DEPLOY_URL=/app/
|
|
|
|
- HOME_ROUTE=home
|
|
|
|
- PORT0=4200
|
|
|
|
- PRODUCTION=false
|
2020-05-23 01:14:27 +00:00
|
|
|
ports:
|
2020-05-26 18:48:31 +00:00
|
|
|
- "4200:4200"
|