-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
55 lines (51 loc) · 1.22 KB
/
docker-compose.yaml
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
version: '3.5'
services:
postgres:
image: postgres:13
restart: always
environment:
POSTGRES_DB: keycloak
POSTGRES_USER: keycloak
POSTGRES_PASSWORD: keycloak
volumes:
- type: volume
source: postgres-volume
target: /var/lib/postgresql/data
keycloak:
depends_on:
- postgres
image: jboss/keycloak:13.0.0
command: [ "-Dkeycloak.migration.strategy=IGNORE_EXISTING" ]
restart: always
ports:
- 8080:8080
environment:
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: admin
KEYCLOAK_IMPORT: /tmp/chatbot.json
# KEYCLOAK_LOGLEVEL: DEBUG
# PROXY_ADDRESS_FORWARDING: 'true'
KEYCLOAK_FRONTEND_URL: https://cms.local/auth
DB_USER: keycloak
DB_PASSWORD: keycloak
DB_ADDR: postgres
volumes:
- type: volume
source: keycloak-volume
target: /opt/jboss/keycloak/standalone/data
- type: bind
source: ./keycloak/chatbot.json
target: /tmp/chatbot.json
angular:
image: kb-dms
build:
dockerfile: docker/Dockerfile.angular
context: .
restart: always
depends_on:
- keycloak
ports:
- 9999:80
volumes:
keycloak-volume:
postgres-volume: