Skip to content

Commit

Permalink
Update Docker Compose for upgraded Keycloak.
Browse files Browse the repository at this point in the history
  • Loading branch information
SubOptimal committed Mar 15, 2023
1 parent 42e0893 commit 1a3b3ab
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ services:
postgres:
image: "openmaptiles/postgis:6.0"
environment:
POSTGRES_USER: obs
POSTGRES_PASSWORD: obs
POSTGRES_USER: keycloak
POSTGRES_PASSWORD: password
POSTGRES_DB: obs
ports:
- '5432:5432'
Expand Down Expand Up @@ -87,17 +87,17 @@ services:
- start

keycloak:
image: quay.io/keycloak/keycloak:20.0
image: quay.io/keycloak/keycloak:21.0
ports:
- 3003:8080
- '3003:8080'
depends_on:
- postgres
environment:
KC_HOSTNAME: localhost
KC_DB_URL: jdbc:postgresql://localhost:5432/obs
KC_DB: obs
KC_DB_USERNAME: obs
KC_DB_PASSWORD: obs
KC_DB_URL: jdbc:postgresql://postgres:5432/obs
KC_DB: postgres
KC_DB_USERNAME: keycloak
KC_DB_PASSWORD: password
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
command:
Expand Down

0 comments on commit 1a3b3ab

Please sign in to comment.