Skip to content

Instantly share code, notes, and snippets.

@agoncal
Created November 20, 2018 14:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save agoncal/b102dc1a14c8ee2e3606199dc86af91c to your computer and use it in GitHub Desktop.
Save agoncal/b102dc1a14c8ee2e3606199dc86af91c to your computer and use it in GitHub Desktop.
version: '2'
services:
keycloak:
image: jboss/keycloak:4.5.0.Final
environment:
- KEYCLOAK_USER=admin
- KEYCLOAK_PASSWORD=admin
- DB_VENDOR=postgres
- DB_ADDR=postgres
- DB_PORT=5432
- DB_DATABASE=keycloak
- DB_USER=keycloak
- DB_PASSWORD=password
ports:
- 8080:8080
postgres:
image: postgres:10.4
environment:
- POSTGRES_USER=keycloak
- POSTGRES_PASSWORD=password
ports:
- 5432:5432
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment