-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
61 lines (55 loc) · 1.42 KB
/
docker-compose.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
55
56
57
58
59
60
61
version: "3.3"
services:
backend:
container_name: cccm-api
image: cccm-api
build:
context: ./cccm-backend
args:
- SERVICE_NAME=cccm-api
- SKIP_TESTS=true
ports:
- "8080:8080"
environment:
- KEYCLOAK_SERVER_URL=${KEYCLOAK_SERVER_URL}
- KEYCLOAK_CLIENT=${KEYCLOAK_CLIENT}
- KEYCLOAK_SECRET=${KEYCLOAK_SECRET}
networks:
- cccm
role-sync:
container_name: cccm-role-sync
image: cccm-role-sync
build:
context: ./cccm-backend/cccm-role-sync
dockerfile: ./Dockerfile.rolesync
args:
- SERVICE_NAME=cccm-role-sync
- SKIP_TESTS=true
ports:
- "8090:8090"
environment:
- CCCM_API_BASE=${CCCM_API_BASE}
- CCCM_KEYCLOAK_BASE=${CCCM_KEYCLOAK_BASE}
- CCCM_KEYCLOAK_REALM=${CCCM_KEYCLOAK_REALM}
- CCCM_KEYCLOAK_CLIENT=${CCCM_KEYCLOAK_CLIENT}
- CCCM_KEYCLOAK_USERNAME=${CCCM_KEYCLOAK_USERNAME}
- CCCM_KEYCLOAK_PASSWORD=${CCCM_KEYCLOAK_PASSWORD}
- CCCM_KEYCLOAK_URL=${CCCM_KEYCLOAK_URL}
- CCCM_KEYCLOAK_SECRET=${CCCM_KEYCLOAK_SECRET}
- SPLUNK_ENABLED=${SPLUNK_ENABLED}
- SPLUNK_URL=${SPLUNK_URL}
- SPLUNK_TOKEN=${SPLUNK_TOKEN}
networks:
- cccm
frontend:
container_name: cccm-web
image: cccm-web
build:
context: ./cccm-frontend
ports:
- "8000:8000"
networks:
- cccm
networks:
cccm:
driver: bridge