Created
August 20, 2020 18:36
-
-
Save DrPsychick/37e063ca320883a542e0c20929405a58 to your computer and use it in GitHub Desktop.
Demo keycloak docker-compose
This file contains hidden or 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
# source: https://github.com/keycloak/keycloak-containers/tree/master/docker-compose-examples | |
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: quay.io/keycloak/keycloak:latest | |
environment: | |
DB_VENDOR: POSTGRES | |
DB_ADDR: postgres | |
DB_DATABASE: keycloak | |
DB_SCHEMA: public | |
DB_USER: keycloak | |
DB_PASSWORD: password | |
KEYCLOAK_USER: admin | |
KEYCLOAK_PASSWORD: S3cr3T | |
ports: | |
- 8080:8080 | |
depends_on: | |
- postgres |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment