forked from serdeliverance/x-mentor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
64 lines (56 loc) · 1.37 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
version: '3.7'
services:
x-mentor-core:
image: xmentor/x-mentor-core:latest
restart: always
environment:
- "REDIS_HOST=x-redis"
- "CLIENT_BASE_AUTH_URL=http://x-keycloak:8080/auth"
ports:
- 9000:9000
entrypoint: ["/opt/docker/conf/wait-for-keycloak.sh", "/opt/docker/conf/wrapper.sh"]
depends_on:
- x-redis
- x-keycloak
x-mentor-client:
image: xmentor/x-mentor-client:latest
ports:
- 3000:80
depends_on:
- x-mentor-core
x-redis:
image: redislabs/redismod:feature-search-json
restart: always
ports:
- 6379:6379
x-gears:
image: xmentor/x-gears:latest
depends_on:
- x-redis
command: ['init.py', '--url', 'redis://x-redis:6379']
x-keycloak:
image: jboss/keycloak
restart: always
command:
- "-Dkeycloak.migration.action=import"
- "-Dkeycloak.migration.provider=singleFile"
- "-Dkeycloak.migration.file=/tmp/realm-export.json"
- "-Dkeycloak.migration.strategy=OVERWRITE_EXISTING"
volumes:
- ./realm-export.json:/tmp/realm-export.json
environment:
- KEYCLOAK_USER:admin
- KEYCLOAK_PASSWORD:admin
ports:
- 8880:8080
volumes:
ivy2:
driver_opts:
o: bind
type: none
device: $HOME/.ivy2
sbt:
driver_opts:
o: bind
type: none
device: $HOME/.sbt