1 Star 0 Fork 3

mr_zwzheng/spring-microservice-exam

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
docker-compose-services.yml 1.82 KB
一键复制 编辑 原始数据 按行查看 历史
langxiaobai 提交于 2019-06-21 16:23 . Initial commit
version: '2'
services:
# ---------------------------
# api网关
# ---------------------------
gateway-service:
image: registry.cn-hangzhou.aliyuncs.com/spring-microservice-exam/gateway-service:latest
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:latest
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:latest
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:latest
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:latest
container_name: monitor-service
env_file: docker-compose.env # 从文件中获取配置
restart: always
ports:
- "8085:8085"
networks:
- net
networks:
net:
driver: bridge
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mr_zwzheng/spring-microservice-exam.git
git@gitee.com:mr_zwzheng/spring-microservice-exam.git
mr_zwzheng
spring-microservice-exam
spring-microservice-exam
master

搜索帮助

23e8dbc6 1850385 7e0993f3 1850385