-
Notifications
You must be signed in to change notification settings - Fork 11
/
dev.docker-compose.yml
54 lines (50 loc) · 1.3 KB
/
dev.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
services:
keycloak:
build: ./keycloak-storage-provider
image: "local/keycloak-sts-adapter:latest"
environment:
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin123
DEBUG: 'true'
DEBUG_PORT: '*:8787'
ports:
- "8180:8180"
- "8787:8787"
command:
- "start-dev"
- "--http-port=8180"
networks:
- sts_network
post_process:
image: adorsys/keycloak-config-cli:6.1.5-25.0.1
volumes:
- ./keycloak-config:/config
environment:
KEYCLOAK_PASSWORD: admin123
KEYCLOAK_USER: admin
KEYCLOAK_URL: http://keycloak:8180/
KEYCLOAK_AVAILABILITYCHECK_ENABLED: true
IMPORT_FILES_LOCATIONS: /config/*
SPRING_PROFILES_INCLUDE: debug
IMPORT_VARSUBSTITUTION_ENABLED: true
LOGIN_URL: http://host.docker.internal:8887/login # ip address of host accessible from within container (for example 172.17.0.1)
command: config-cli
networks:
- sts_network
sts-mongo:
image: mongo:7.0.7
container_name: sts_mongo
environment:
MONGO_INITDB_DATABASE: sts
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example
volumes:
- mongodata:/data/db
ports:
- 27017:27017
networks:
- sts_network
volumes:
mongodata:
networks:
sts_network: