-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (40 loc) · 966 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (40 loc) · 966 Bytes
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
version: "3.9"
services:
keycloak:
image: quay.io/keycloak/keycloak:19.0.1
command: start-dev --import-realm
volumes:
- ./fixtures/kc-test-realm.json:/opt/keycloak/data/import/kc-test-realm.json:ro
ports:
- 8080:8080
environment:
- KEYCLOAK_ADMIN=admin
- KEYCLOAK_ADMIN_PASSWORD=admin
- KC_HEALTH_ENABLED=true
- KC_DB=dev-mem
healthcheck:
test:
[
"CMD",
"curl",
"-f",
"http://localhost:8080/health/live"
]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
wrgld:
image: wrgl/wrgld:v0.13.3
environment:
- WRGLD_LOG_VERBOSITY=2
- WRGLD_PORT=8081
- WRGLD_CONFIG_FILE=/var/lib/wrgl/config.json
tmpfs:
- /var/lib/wrgl/data:uid=1000,gid=1000
volumes:
- ./fixtures/wrgld_config.yaml:/var/lib/wrgl/config.json
ports:
- 8081:8081
depends_on:
- keycloak