-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
107 lines (101 loc) · 2.84 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
version: "3"
include:
- docker-compose-ode.yml
services:
conflictvisualizer-gui:
profiles:
- all
- cm_api_full
- cm_api_base
- cm_gui
build:
context: gui
dockerfile: Dockerfile
args:
NEXTAUTH_SECRET: ${NEXTAUTH_SECRET}
NEXTAUTH_URL: ${NEXTAUTH_URL}
KEYCLOAK_CLIENT_ID: ${KEYCLOAK_CLIENT_ID}
KEYCLOAK_CLIENT_SECRET: ${KEYCLOAK_CLIENT_SECRET}
KEYCLOAK_REALM: ${KEYCLOAK_REALM}
MAPBOX_TOKEN: ${MAPBOX_TOKEN}
GUI_SERVER_URL: ${GUI_SERVER_URL}
AUTH_SERVER_URL: ${AUTH_SERVER_URL}
API_SERVER_URL: ${API_SERVER_URL}
API_WS_URL: ${API_WS_URL}
restart: always
ports:
- "3000:3000"
image: jpo-conflictvisualizer-gui:latest
logging:
options:
max-size: "10m"
max-file: "5"
keycloak:
profiles:
- all
- cm_api_full
- keycloak
build:
context: keycloak
dockerfile: Dockerfile
container_name: jpo-conflictvisualizer-keycloak
restart: always
environment:
KEYCLOAK_ADMIN: ${KEYCLOAK_ADMIN}
KEYCLOAK_ADMIN_PASSWORD: ${KEYCLOAK_ADMIN_PASSWORD}
KEYCLOAK_CLIENT_SECRET: ${KEYCLOAK_CLIENT_SECRET}
GUI_SERVER_URL: ${GUI_SERVER_URL}
API_SERVER_URL: ${API_SERVER_URL}
command:
- start-dev
- --log-level=INFO
- --import-realm
- --proxy edge
volumes:
- keycloak:/opt/keycloak/data/
- ${DOCKER_HOST_DIR}/keycloak/realm.json:/tmp/realm.json
ports:
- "8084:8080"
conflictvisualizer-api:
profiles:
- all
- cm_api_full
- cm_api_base
- cm_api
build:
context: api
dockerfile: Dockerfile
args:
MAVEN_GITHUB_TOKEN: ${MAVEN_GITHUB_TOKEN:?error}
MAVEN_GITHUB_ORG: ${MAVEN_GITHUB_ORG:?error}
ports:
- "8081:8081"
image: jpo-conflictvisualizer-api:latest
restart: always
environment:
AUTH_SERVER_URL: ${AUTH_SERVER_URL}
KEYCLOAK_ADMIN: ${KEYCLOAK_ADMIN}
KEYCLOAK_ADMIN_PASSWORD: ${KEYCLOAK_ADMIN_PASSWORD}
DB_HOST_IP: ${DB_HOST_IP}
DB_HOST_PORT: ${DB_HOST_PORT}
SPRING_KAFKA_BOOTSTRAPSERVERS: ${KAFKA_BOOTSTRAP_SERVERS}
CM_SERVER_URL: ${CM_SERVER_URL}
load: "false"
KAFKA_TYPE: "ON-PREM"
ACM_CONFIG_FILE: adm.properties
ACM_LOG_TO_CONSOLE: true
ACM_LOG_TO_FILE: false
ACM_LOG_LEVEL: DEBUG
CM_MONGO_API_USERNAME: ${CM_MONGO_READ_WRITE_USERNAME}
CM_MONGO_API_PASSWORD: ${CM_MONGO_READ_WRITE_PASSWORD}
CM_MONGO_AUTH_DB: ${CM_MONGO_AUTH_DB}
CM_MONGO_URI: ${CM_MONGO_URI:-}
logging:
options:
max-size: "10m"
max-file: "5"
# depends_on:
# keycloak:
# condition: service_started
volumes:
keycloak: