代码拉取完成,页面将自动刷新
同步操作将从 GuYiTan/spring-microservice-exam-demo 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: '2.1'
services:
gateway-service:
build: spring-cloud/gateway-service
image: sg-exam/gateway-service
mem_limit: 256m
networks:
- my-network
environment:
- SPRING_PROFILES_ACTIVE=docker
- SPRING_CONFIG_LOCATION=file:/config-repo/application.yml,file:/config-repo/gateway-service.yml
volumes:
- $PWD/config-repo:/config-repo
depends_on:
auth-service:
condition: service_healthy
auth-service:
build: spring-cloud/auth-service
image: sg-exam/auth-service
mem_limit: 256m
networks:
- my-network
environment:
- SPRING_PROFILES_ACTIVE=docker
- SPRING_CONFIG_LOCATION=file:/config-repo/application.yml,file:/config-repo/auth-service.yml
volumes:
- $PWD/config-repo:/config-repo
depends_on:
user-service:
condition: service_healthy
user-service:
build: microservices/user-service
image: sg-exam/user-service
mem_limit: 256m
networks:
- my-network
environment:
- SPRING_PROFILES_ACTIVE=docker
- SPRING_CONFIG_LOCATION=file:/config-repo/application.yml,file:/config-repo/user-service.yml
volumes:
- $PWD/config-repo:/config-repo
exam-service:
build: microservices/exam-service
image: sg-exam/exam-service
mem_limit: 256m
networks:
- my-network
environment:
- SPRING_PROFILES_ACTIVE=docker
- SPRING_CONFIG_LOCATION=file:/config-repo/application.yml,file:/config-repo/exam-service.yml
volumes:
- $PWD/config-repo:/config-repo
msc-service:
build: microservices/msc-service
image: sg-exam/msc-service
mem_limit: 256m
networks:
- my-network
environment:
- SPRING_PROFILES_ACTIVE=docker
- SPRING_CONFIG_LOCATION=file:/config-repo/application.yml,file:/config-repo/msc-service.yml
volumes:
- $PWD/config-repo:/config-repo
networks:
my-network:
name: my-network
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。