forked from adorsys/keycloak-config-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
63 lines (63 loc) · 1.68 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
version: '3'
services:
keycloak:
image: quay.io/keycloak/keycloak:${KEYCLOAK_VERSION}
environment:
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin123
KEYCLOAK_LOGLEVEL: INFO
ROOT_LOGLEVEL: INFO
ports:
- "8080:8080"
- "8787:8787"
command:
- start-dev
- --features=admin-fine-grained-authz
keycloak-legacy:
image: quay.io/keycloak/keycloak:${KEYCLOAK_VERSION}-legacy
environment:
KEYCLOAK_PASSWORD: admin123
KEYCLOAK_USER: admin
KEYCLOAK_LOGLEVEL: INFO
ROOT_LOGLEVEL: INFO
volumes:
- ./providers/:/opt/jboss/keycloak/providers/
ports:
- "8080:8080"
- "8787:8787"
command:
- "-c"
- "standalone.xml"
- "-Dkeycloak.profile.feature.admin_fine_grained_authz=enabled"
openldap:
image: osixia/openldap:1.5.0
command:
- --loglevel
- info
environment:
DISABLE_CHOWN: "true"
LDAP_LOG_LEVEL: "256"
LDAP_DOMAIN: "example.org"
LDAP_ADMIN_PASSWORD: "admin123"
LDAP_READONLY_USER: "false"
LDAP_TLS: "false"
LDAP_RFC2307BIS_SCHEMA: "false"
LDAP_SEED_INTERNAL_LDIF_PATH: /resources/
ports:
- "8389:389"
volumes:
- ./src/test/resources/embedded-ldap.ldif:/resources/embedded-ldap.ldif
keycloak-config-cli:
build: .
image: adorsys/keycloak-config-cli:latest
depends_on:
- keycloak
volumes:
- ./contrib/example-config:/config
environment:
- keycloak.url=http://keycloak:8080
- keycloak.user=admin
- keycloak.password=admin123
- keycloak.availability-check.enabled=true
- spring.profiles.active=dev
- import.cache.enabled=false