-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
40 lines (35 loc) · 1.1 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
version: "3.9"
volumes:
postgres_data:
driver: local
services:
postgres:
image: "postgres"
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- "5432:5432"
environment:
POSTGRES_USER: "root"
POSTGRES_PASSWORD: "toor"
POSTGRES_DB: "wenop"
keycloak:
image: quay.io/keycloak/keycloak:legacy
# command:
# - "--spi-login-protocol-openid-connect-legacy-logout-redirect-uri=true"
environment:
DB_VENDOR: POSTGRES
DB_ADDR: postgres
DB_DATABASE: wenop
DB_USER: root
DB_SCHEMA: public
DB_PASSWORD: "toor"
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: Pa55w0rd
JAVA_OPTS_APPEND: ""
# Uncomment the line below if you want to specify JDBC parameters. The parameter below is just an example, and it shouldn't be used in production without knowledge. It is highly recommended that you read the PostgreSQL JDBC driver documentation in order to use it.
JDBC_PARAMS: "spi-login-protocol-openid-connect-legacy-logout-redirect-uri=true"
ports:
- 8080:8080
depends_on:
- postgres