-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
29 lines (27 loc) · 821 Bytes
/
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
version: "3.8"
x-common-variables: &common-variables
KONG_DATABASE: postgres
KONG_PG_DATABASE: kong
KONG_PG_HOST: kong-db
KONG_PG_USER: konguser
KONG_PG_PASSWORD: konguser
services:
keycloak:
image: jboss/keycloak:11.0.3
container_name: keycloak
hostname: keycloak
command:
[
"-b",
"0.0.0.0",
"-Djboss.socket.binding.port-offset=1000",
"-Dkeycloak.migration.action=import",
"-Dkeycloak.migration.provider=singleFile",
"-Dkeycloak.migration.file=/tmp/realm-config/master-realm.json",
"-Dkeycloak.migration.strategy=OVERWRITE_EXISTING",
"-Dkeycloak.profile.feature.upload_scripts=enabled",
]
ports:
- 9080:9080/tcp
volumes:
- ./local/keycloak/master-realm.json:/tmp/realm-config/master-realm.json