-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
38 lines (34 loc) · 1.09 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
version: '3'
volumes:
pg-data:
driver: local
services:
postgres:
image: postgres:15-alpine
ports:
- 5432:5432
volumes:
- pg-data:/var/lib/postgresql/data/
environment:
POSTGRES_PASSWORD: password
POSTGRES_USER: keycloak-deviceflow
POSTGRES_DB: keycloak-deviceflow
keycloak-deviceflow:
image: quay.io/keycloak/keycloak:20.0.5
command: ["start-dev"]
environment:
KC_DB_URL: jdbc:postgresql://postgres:5432/keycloak-deviceflow
KC_DB_USERNAME: keycloak-deviceflow
KC_DB_PASSWORD: password
KEYCLOAK_ADMIN: admin
KEYCLOAK_ADMIN_PASSWORD: admin
JAVA_OPTS: >
-server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true
-agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=*:5006
#-Dhttp.proxyHost=192.168.2.106 -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true
#HTTP_PROXY: http://192.168.2.106:8888
ports:
- 8080:8080
- 5006:5006
depends_on:
- postgres