代码拉取完成,页面将自动刷新
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:
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。