-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-local.yml
90 lines (86 loc) · 2.34 KB
/
docker-compose-local.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
version: '3'
services:
keycloak:
image: keycloak-keycloak
container_name: ssm-keycloak
restart: unless-stopped
network_mode: "host"
ports:
- "8081:8080"
environment:
FEDERATE_LDAP: "true"
GOOGLE_CLIENT_ID: XXXXXXXXXXXX-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.apps.googleusercontent.com
GOOGLE_IDP: "false"
GOOGLE_SECRET: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
HOSTNAME: ssm-keycloak
KC_DB: postgres
KC_DB_PASSWORD: postgres
KC_DB_URL: jdbc:postgresql://localhost:5432/
KC_DB_USERNAME: postgres
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
KEYCLOAK_ADMIN_PASSWORD: admin
LDAP_URL: ldaps://ldapu.ornl.gov
USERSDN: "dc=ornl,dc=gov"
keto:
image: ssm-keto
container_name: keto
restart: unless-stopped
network_mode: "host"
postgres:
container_name: ssm-postgres
image: postgres
restart: unless-stopped
network_mode: "host"
ports:
- "5432:5432"
environment:
POSTGRES_PASSWORD: postgres
ssm-fuseki:
network_mode: "host"
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
network_mode: "host"
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
network_mode: "host"
depends_on:
- ssm-document-store
ports:
- "8081:8081"
environment:
ME_CONFIG_MONGODB_URL: mongodb://${MONGO_USERNAME}:${MONGO_PASSWORD}@localhost:27017/
ME_CONFIG_MONGODB_ADMINUSERNAME: ${MONGO_USERNAME}
ME_CONFIG_MONGODB_ADMINPASSWORD: ${MONGO_PASSWORD}
ssm-bats-rest-api:
build:
args:
PROFILE: keto
context: .
dockerfile: Dockerfile
restart: unless-stopped
network_mode: "host"
environment:
PROFILE: docker
depends_on:
- ssm-fuseki
- ssm-document-store
# - ssm-keycloak
ports:
- "8082:8083"
command: "java -jar /app.jar --spring.data.mongodb.username=$MONGO_USERNAME --spring.data.mongodb.password=$MONGO_PASSWORD --server.port=8084"