-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
49 lines (48 loc) · 1.55 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
version: '3'
services:
db:
image: postgres
environment:
- "POSTGRES_PASSWORD=1234"
backend:
image: "configset-backend"
ports:
- "5554:5554"
environment:
- "db_type=postgres"
- "authenticator_type=oauth"
- "oauth_provider_url=http://keycloack:8080/auth/realms/demo"
- "client_id=demo-clientId"
- "jdbc_url=jdbc:postgresql://db:5432/postgres?user=postgres&password=1234"
- "log.level=DEBUG"
dashboard:
image: "configset-dashboard-dev"
ports:
- "8188:8188"
- "5555:5555"
environment:
- "config_server.hostname=backend"
- "config_server.port=8080"
- "client.keycloack_url=http://localhost:8077"
- "templates.file.path=/templates"
- "js.file.path=/js"
- "auth.realm_uri=http://keycloack:8080/auth/realms/demo"
- "auth.auth_uri=http://localhost:8077/auth/realms/demo/protocol/openid-connect/auth"
- "auth.request_token_uri=http://keycloack:8080/auth/realms/demo/protocol/openid-connect/token"
- "auth.redirect_uri=http://localhost:8188/auth/redirect"
- "auth.client_id=demo-clientId"
- "auth.secret_key=e953a3fd-7390-4b23-8029-1294af5551f8"
volumes:
- "./dashboard/src/main/resources/templates:/templates"
- "./dashboard/src/main/resources/js:/js"
keycloack:
image: "quay.io/keycloak/keycloak:15.0.1"
ports:
- "8077:8080"
volumes:
- keycloak-data-volume:/var/lib/keycloak/data
environment:
- "KEYCLOAK_USER=admin"
- "KEYCLOAK_PASSWORD=admin"
volumes:
keycloak-data-volume: