标签:code ddr 参考资料 postgres base png order tps ESS
内容很简单,主要是搭建一个可运行的keycloak 环境,方便开发测试,同时支持数据库的持久化
version: "3"
services:
auth:
image: jboss/keycloak
ports:
- "8080:8080"
environment:
- "KEYCLOAK_USER=dalong"
- "KEYCLOAK_PASSWORD=dalongrong"
- "DB_VENDOR=postgres"
- "DB_ADDR=postgres"
- "DB_DATABASE=postgres"
- "DB_USER=postgres"
- "DB_PASSWORD=dalong"
- "PROXY_ADDRESS_FORWARDING=true"
postgres:
image: postgres:9.6
ports:
- "5432:5432"
environment:
- "POSTGRES_PASSWORD:dalong"
docker-compose up -d
登录账户为 dalong dalongrong
https://hub.docker.com/r/jboss/keycloak
标签:code ddr 参考资料 postgres base png order tps ESS
原文地址:https://www.cnblogs.com/rongfengliang/p/10330765.html