Skip to content

Commit

Permalink
Keycloak config added
Browse files Browse the repository at this point in the history
  • Loading branch information
dukris committed Jan 22, 2024
1 parent df49bbf commit 686df95
Show file tree
Hide file tree
Showing 2 changed files with 2,305 additions and 0 deletions.
33 changes: 33 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
version: '3.9'

services:
db:
image: postgres:16.0-bullseye
container_name: db
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- pgdata:/var/lib/postgresql/data
ports:
- '5432:5432'
keycloak:
image: quay.io/keycloak/keycloak:23.0.2
container_name: keycloak
environment:
DB_VENDOR: postgres
DB_USER: postgres
DB_PASSWORD: postgres
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: password
ports:
- '8090:8080'
depends_on:
- db
command: start-dev --import-realm
volumes:
- ./imports:/opt/keycloak/data/import

volumes:
pgdata:
driver: local
Loading

0 comments on commit 686df95

Please sign in to comment.