1 Star 0 Fork 0

随风而行/yoj-backend-microservice

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
docker-compose.service.yml 1.17 KB
一键复制 编辑 原始数据 按行查看 历史
随风而行 提交于 2024-02-20 17:33 . 改造单体项目为微服务版本
version: '3'
services:
yoj-backend-gateway:
container_name: yoj-backend-gateway
build:
context: ./yoj-backend-gateway
dockerfile: Dockerfile
ports:
- "8101:8101"
networks:
- mynetwork
yoj-backend-user-service:
container_name: yoj-backend-user-service
build:
context: ./yoj-backend-user-service
dockerfile: Dockerfile
ports:
- "8102:8102"
networks:
- mynetwork
depends_on:
- yoj-backend-gateway
yoj-backend-question-service:
container_name: yoj-backend-question-service
build:
context: ./yoj-backend-question-service
dockerfile: Dockerfile
ports:
- "8103:8103"
networks:
- mynetwork
depends_on:
- yoj-backend-user-service
- yoj-backend-gateway
yoj-backend-judge-service:
container_name: yoj-backend-judge-service
build:
context: ./yoj-backend-judge-service
dockerfile: Dockerfile
ports:
- "8104:8104"
networks:
- mynetwork
depends_on:
- yoj-backend-user-service
- yoj-backend-question-service
- yoj-backend-gateway
# 网络,不定义的话就是默认网络
networks:
mynetwork:
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/a1_-plm123789/yoj-backend-microservice.git
git@gitee.com:a1_-plm123789/yoj-backend-microservice.git
a1_-plm123789
yoj-backend-microservice
yoj-backend-microservice
master

搜索帮助