-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
39 lines (34 loc) · 948 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
30
31
32
33
34
35
36
37
38
39
services:
mainapi:
image: ${DOCKER_REGISTRY-}mainapi
build:
context: .
dockerfile: MainApi/Dockerfile
clientservice:
image: ${DOCKER_REGISTRY-}clientservice
build:
context: .
dockerfile: ClientService/Dockerfile
reportservice:
image: ${DOCKER_REGISTRY-}reportservice
build:
context: .
dockerfile: ReportService/Dockerfile
keycloak:
image: quay.io/keycloak/keycloak:26.0.6
user: root
container_name: keycloak
extra_hosts:
- "host.docker.internal:host-gateway"
command: start-dev --import-realm
# command: export --dir /opt/keycloak/data/import --users realm_file --realm MyRealm
ports:
- "8080:8080"
environment:
- KC_BOOTSTRAP_ADMIN_USERNAME=admin
- KC_BOOTSTRAP_ADMIN_PASSWORD=admin
volumes:
- keycloak_data:/opt/keycloak/data
- ./keycloak/import:/opt/keycloak/data/import:rw
volumes:
keycloak_data: