Created
November 14, 2021 16:14
-
-
Save gabriel-srodrigues/6e1bb69b2be1f0c26e228b61a5cfeba1 to your computer and use it in GitHub Desktop.
Um gist para a composição do keycloak
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
| version: '3.8' | |
| services: | |
| postgres: | |
| image: postgres | |
| 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_USER: keycloak | |
| DB_SCHEMA: public | |
| DB_PASSWORD: password | |
| KEYCLOAK_USER: admin | |
| KEYCLOAK_PASSWORD: Pa55w0rd | |
| # Uncomment the line below if you want to specify JDBC parameters. The parameter below is just an example, and it shouldn't be used in production without knowledge. It is highly recommended that you read the PostgreSQL JDBC driver documentation in order to use it. | |
| #JDBC_PARAMS: "ssl=true" | |
| ports: | |
| - 18080:8080 | |
| depends_on: | |
| - postgres |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment