Skip to content

Commit 7cf55c9

Browse files
author
suboptimal
committed
Update Docker compose for development portal.
1 parent 9e80113 commit 7cf55c9

File tree

1 file changed

+14
-10
lines changed

1 file changed

+14
-10
lines changed

docker-compose.yaml

+14-10
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ services:
1616
ports:
1717
- '5432:5432'
1818
volumes:
19-
- ./local/postgres/data:/var/lib/postgresql/data
19+
- ./local/postgres/data:/var/lib/postgresql/data
2020

2121
api:
2222
image: openbikesensor-api
@@ -87,17 +87,21 @@ services:
8787
- start
8888

8989
keycloak:
90-
image: jboss/keycloak
90+
image: quay.io/keycloak/keycloak:20.0
9191
ports:
9292
- 3003:8080
9393
depends_on:
9494
- postgres
9595
environment:
96-
KEYCLOAK_USER: admin
97-
KEYCLOAK_PASSWORD: admin
98-
KEYCLOAK_FRONTEND_URL: http://localhost:3003/auth/
99-
DB_VENDOR: postgres
100-
DB_ADDR: postgres
101-
DB_DATABASE: obs
102-
DB_USER: obs
103-
DB_PASSWORD: obs
96+
KC_HOSTNAME: localhost
97+
KC_DB_URL: jdbc:postgresql://localhost:5432/obs
98+
KC_DB: obs
99+
KC_DB_USERNAME: obs
100+
KC_DB_PASSWORD: obs
101+
KEYCLOAK_ADMIN: admin
102+
KEYCLOAK_ADMIN_PASSWORD: admin
103+
command:
104+
- --verbose
105+
- start-dev
106+
- --http-relative-path
107+
- /auth

0 commit comments

Comments
 (0)