version: "3.3" services: db: container_name: db image: sartography/cr-connect-db:dev ports: - "5432:5432" environment: - POSTGRES_USER=rrt_user - POSTGRES_PASSWORD=rrt_pass - POSTGRES_MULTIPLE_DATABASES=rrt healthcheck: test: ["CMD", "pg_isready"] timeout: 20s retries: 10 backend: container_name: backend depends_on: - db image: sartography/cr-connect-workflow:dev environment: - APPLICATION_ROOT=/api - CORS_ALLOW_ORIGINS=localhost:5002,bpmn:5002,localhost:4200,frontend:4200 - DB_HOST=db - DB_NAME=rrt - DB_PASSWORD=rrt_pass - DB_PORT=5432 - DB_USER=rrt_user - LDAP_URL=ldap.virginia.edu - PB_ENABLED=false - PORT0=5000 - RESET_DB=true - UPGRADE_DB=true ports: - "5000:5000" command: ./wait-for-it.sh db:5432 -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"