Skip to content

Commit 686df95

Browse files
committed
Keycloak config added
1 parent df49bbf commit 686df95

File tree

2 files changed

+2305
-0
lines changed

2 files changed

+2305
-0
lines changed

docker-compose.yml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
version: '3.9'
2+
3+
services:
4+
db:
5+
image: postgres:16.0-bullseye
6+
container_name: db
7+
environment:
8+
POSTGRES_USER: postgres
9+
POSTGRES_PASSWORD: postgres
10+
volumes:
11+
- pgdata:/var/lib/postgresql/data
12+
ports:
13+
- '5432:5432'
14+
keycloak:
15+
image: quay.io/keycloak/keycloak:23.0.2
16+
container_name: keycloak
17+
environment:
18+
DB_VENDOR: postgres
19+
DB_USER: postgres
20+
DB_PASSWORD: postgres
21+
KEYCLOAK_ADMIN: admin
22+
KEYCLOAK_ADMIN_PASSWORD: password
23+
ports:
24+
- '8090:8080'
25+
depends_on:
26+
- db
27+
command: start-dev --import-realm
28+
volumes:
29+
- ./imports:/opt/keycloak/data/import
30+
31+
volumes:
32+
pgdata:
33+
driver: local

0 commit comments

Comments
 (0)