Last active
August 31, 2021 14:26
-
-
Save exaucae/1102305b69427e7c88510748c0da4e22 to your computer and use it in GitHub Desktop.
compose file for keycloack
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.4' | |
networks: | |
keycloak-network: | |
driver: bridge | |
services: | |
postgres: | |
container_name: keycloak-db | |
image: postgres:latest | |
networks: | |
- keycloak-network | |
env_file: postgres.env | |
volumes: | |
- keycloack-db-data:/var/lib/postgresql/data | |
keycloak: | |
container_name: keycloak-server | |
image: quay.io/keycloak/keycloak:12.0.1 | |
ports: | |
- 8080:8080 | |
networks: | |
- keycloak-network | |
env_file: keycloack.env | |
volumes: | |
- './build:/opt/jboss/keycloak/themes/gamma-keycloak' | |
- './docker/keycloak/scripts:/opt/jboss/startup-scripts' | |
depends_on: | |
- postgres | |
volumes: | |
keycloack-db-data: { } |
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
DB_VENDOR=POSTGRES | |
DB_ADDR=postgres | |
KEYCLOAK_USER= | |
KEYCLOAK_PASSWORD= | |
DB_USER= | |
DB_PASSWORD= |
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
POSTGRES_DB= | |
POSTGRES_USER= | |
POSTGRES_PASSWORD= |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment