1 Star 0 Fork 993

likechen3pm / spring-microservice-exam

forked from GuYiTan / sg-exam 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose-services.yml 1.81 KB
一键复制 编辑 原始数据 按行查看 历史
version: '2'
services:
# ---------------------------
# api网关
# ---------------------------
gateway-service:
image: registry.cn-hangzhou.aliyuncs.com/spring-microservice-exam/gateway-service:2.0
container_name: gateway-service
env_file: docker-compose.env # 从文件中获取配置
restart: always
ports:
- "8000:8000"
networks:
- net
# ---------------------------
# 授权服务
# ---------------------------
auth-service:
image: registry.cn-hangzhou.aliyuncs.com/spring-microservice-exam/auth-service:2.0
container_name: auth-service
env_file: docker-compose.env # 从文件中获取配置
restart: always
ports:
- "8090:8090"
networks:
- net
# ---------------------------
# 用户服务
# ---------------------------
user-service:
image: registry.cn-hangzhou.aliyuncs.com/spring-microservice-exam/user-service:2.0
container_name: user-service
env_file: docker-compose.env # 从文件中获取配置
restart: always
ports:
- "8095:8095"
networks:
- net
# ---------------------------
# 考试服务
# ---------------------------
exam-service:
image: registry.cn-hangzhou.aliyuncs.com/spring-microservice-exam/exam-service:2.0
container_name: exam-service
env_file: docker-compose.env # 从文件中获取配置
restart: always
ports:
- "8098:8098"
networks:
- net
# ---------------------------
# 监控服务
# ---------------------------
monitor-service:
image: registry.cn-hangzhou.aliyuncs.com/spring-microservice-exam/monitor-service:2.0
container_name: monitor-service
env_file: docker-compose.env # 从文件中获取配置
restart: always
ports:
- "8085:8085"
networks:
- net
networks:
net:
driver: bridge
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/likechen3pm/spring-microservice-exam.git
git@gitee.com:likechen3pm/spring-microservice-exam.git
likechen3pm
spring-microservice-exam
spring-microservice-exam
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891