-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.override.yml
54 lines (50 loc) · 1.41 KB
/
docker-compose.override.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
services:
oidc-provider:
build:
context: ./docker/oidc-provider/
dockerfile: Dockerfile
network_mode: service:backend
proxy:
environment:
- PROXY_TARGET_HOST=frontend
frontend:
build:
context: .
dockerfile: frontend/Dockerfile.dev
environment:
- NODE_ENV=development
- BACKEND_HOST=backend
volumes:
# For container based development to show git changes in the whole workspace
- .git:/app/.git:cached
- ./:/app/
- /app/frontend/node_modules
- /app/shared/node_modules
- /app/backend/node_modules
ports:
- '127.0.0.1:8080:8080'
backend:
build:
context: .
dockerfile: backend/Dockerfile.dev
environment:
- NODE_ENV=development
- PG_HOST=db
- EMAIL_HOST=mailhog
- SAP_WS_PROJECTINFO_ENDPOINT=http://sap-mock:3000/projectinfo
- SAP_WS_ACTUALS_ENDPOINT=http://sap-mock:3000/actuals
- SAP_WS_ENDPOINT=http://sap-mock:3000/projectinfo
- OIDC_CLIENT_DISCOVERY_URL=http://localhost:9090
- OIDC_REDIRECT_URI=https://localhost/api/v1/auth/callback
- AUTH_LOGOUT_URL=http://localhost:9090/session/end
volumes:
- .git:/app/.git:cached
- ./:/app/
- /app/backend/node_modules
- /app/shared/node_modules
ports:
- '127.0.0.1:3003:3003'
- '127.0.0.1:9090:9090'
depends_on:
db:
condition: service_healthy