forked from trigo-at/keycloak-theme-development
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
36 lines (34 loc) · 912 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
version: '3'
volumes:
postgres_data:
driver: local
services:
postgres:
image: postgres
volumes:
- postgres_data:/var/lib/postgresql/data
environment:
POSTGRES_DB: keycloak
POSTGRES_USER: keycloak
POSTGRES_PASSWORD: password
keycloak:
image: jboss/keycloak:15.1.0
volumes:
- ./disable-theme-cache.cli:/opt/jboss/startup-scripts/disable-theme-cache.cli
- ./themes/tailwind-example/:/opt/jboss/keycloak/themes/tailwind-example/
environment:
DB_VENDOR: POSTGRES
DB_ADDR: postgres
DB_DATABASE: keycloak
DB_USER: keycloak
DB_SCHEMA: public
DB_PASSWORD: password
KEYCLOAK_USER: admin
KEYCLOAK_PASSWORD: admin
KEYCLOAK_LOGLEVEL: INFO
ROOT_LOGLEVEL: INFO
ports:
- 8443:8443
- 8080:8080
depends_on:
- postgres