Last active
May 7, 2023 09:07
-
-
Save maztaim/011bb52db53061aba61db0973e58da00 to your computer and use it in GitHub Desktop.
Postgresql with Keycloak podman compose file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
db: | |
image: docker.io/library/postgres | |
ports: | |
- "5432:5432" | |
environment: | |
POSTGRES_USER: keycloak | |
POSTGRES_PASSWORD: My super secret. | |
POSTGRES_DB: keycloak | |
volumes: | |
- ./postgresql-data:/var/lib/postgresql/data:Z | |
keycloak: | |
image: quay.io/keycloak/keycloak | |
ports: | |
- "8080:8080" | |
environment: | |
KEYCLOAK_USER: admin | |
KEYCLOAK_PASSWORD: My super secret. | |
DB_VENDOR: postgres | |
DB_ADDR: localhost:5432 | |
DB_DATABSE: keycloak | |
DB_USER: keycloak | |
DB_PASSWORD: My super secret. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment