-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
75 lines (70 loc) · 1.96 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
version: '3'
services:
ssm-postgres:
image: postgres
restart: unless-stopped
ports:
- "5432:5432"
environment:
POSTGRES_PASSWORD: postgres
ssm-keycloak:
image: keycloak
restart: unless-stopped
depends_on:
- ssm-postgres
ports:
- "8080:8080"
environment:
FEDERATE_LDAP: "true"
GOOGLE_CLIENT_ID: XXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.apps.googleusercontent.com
GOOGLE_IDP: "true"
GOOGLE_SECRET: XXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXX
HOSTNAME: ssm-keycloak
KC_DB: postgres
KC_DB_PASSWORD: postgres
KC_DB_URL: jdbc:postgresql://ssm-postgres:5432/
KC_DB_USERNAME: postgres
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
LDAP_URL: ldaps://LDAP_HOST
USERSDN: "dc=example,dc=com"
ssm-fuseki:
build:
context: ./src/main/docker
dockerfile: Dockerfile.fuseki
restart: unless-stopped
ports:
- "3030:3030"
volumes:
- ./db-triple-store:/data/TDB
ssm-document-store:
image: mongo:4
restart: unless-stopped
environment:
MONGO_INITDB_ROOT_USERNAME: ${MONGO_USERNAME}
MONGO_INITDB_ROOT_PASSWORD: ${MONGO_PASSWORD}
volumes:
- ./db-mongo:/data/db
mongo-express:
image: mongo-express
restart: unless-stopped
depends_on:
- ssm-document-store
ports:
- "8081:8081"
environment:
ME_CONFIG_MONGODB_URL: mongodb://${MONGO_USERNAME}:${MONGO_PASSWORD}@ssm-document-store:27017/
ME_CONFIG_MONGODB_ADMINUSERNAME: ${MONGO_USERNAME}
ME_CONFIG_MONGODB_ADMINPASSWORD: ${MONGO_PASSWORD}
ssm-bats-rest-api:
build:
context: .
dockerfile: Dockerfile
restart: unless-stopped
depends_on:
- ssm-fuseki
- ssm-document-store
- ssm-keycloak
ports:
- "8082:8080"
command: "java -jar /app.jar --spring.data.mongodb.username=$MONGO_USERNAME --spring.data.mongodb.password=$MONGO_PASSWORD --server.port=8080"