1 Star 0 Fork 101

azhkhn_c9f8/houge

forked from ZY/houge
关闭
 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
docker-compose.yml 1.46 KB
一键复制 编辑 原始数据 按行查看 历史
kk70 提交于 2021-05-20 14:48 . 修改docker镜像的名称
version: "3"
services:
# PostgreSQL 数据库
db:
image: "postgres:13"
container_name: houge-db
networks:
- backend
environment:
POSTGRES_USER: "houge"
POSTGRES_PASSWORD: "123456"
# 数据库 schema 更新
db-migration:
image: kevin70/houge-db-migration
container_name: houge-db-migration
networks:
- backend
environment:
FLYWAY_URL: "jdbc:postgresql://db/houge"
FLYWAY_USER: "houge"
FLYWAY_PASSWORD: "123456"
entrypoint: sh
command: -c "wait-for db:5432 && flyway migrate"
depends_on:
- db
# 逻辑服务
logic:
image: kevin70/houge-server-logic
container_name: houge-server-logic
networks:
- backend
ports:
- 11012:11012
environment:
HOUGE_MESSAGE_STORAGE_R2DBC_URL: "r2dbc:postgresql://houge:123456@db/houge"
depends_on:
- db-migration
# REST 服务
rest:
image: kevin70/houge-server-rest
container_name: houge-server-rest
networks:
- backend
ports:
- 11019:11019
environment:
HOUGE_MESSAGE_STORAGE_R2DBC_URL: "r2dbc:postgresql://houge:123456@db/houge"
depends_on:
- db-migration
# WebSocket 服务
ws:
image: kevin70/houge-server-ws
container_name: houge-server-ws
networks:
- backend
ports:
- 11010:11010
environment:
HOUGE_LOGIC_SERVICE_GRPC_TARGET: "logic:11012"
HOUGE_AGENT_SERVICE_MULTI_GRPC_TARGET: "logic:11012"
networks:
backend:
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/azhkhn_c9f8/houge.git
git@gitee.com:azhkhn_c9f8/houge.git
azhkhn_c9f8
houge
houge
main

搜索帮助