1 Star 0 Fork 0

Operations / 微服务部署 swarm 方式

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
gateway.yaml 834 Bytes
一键复制 编辑 原始数据 按行查看 历史
Operations 提交于 2019-11-22 21:12 . first commit
version: '3.7'
services:
uaa:
image: 192.168.2.30/mango-12f/uaa:1.0.10.0002
hostname: uaa_{{.Task.ID}}
environment:
TZ: Asia/Shanghai
SPRING_PROFILES_ACTIVE: prod,swagger
JHIPSTER_REGISTRY_PASSWORD: admin
SPRING_CLOUD_CONFIG_URI: http://admin:$${jhipster.registry.password}@jhipster-registry:8761/config
EUREKA_CLIENT_SERVICE_URL_DEFAULTZONE: http://admin:$${jhipster.registry.password}@jhipster-registry:8761/eureka/
JAVA_OPTS: "-Xmx1024m -Xms1024m -Duser.timezone=GMT+8"
WAIT_HOSTS: jhipster-registry:8761
WAIT_HOSTS_TIMEOUT: 300
ports:
- 8020:8020
deploy:
endpoint_mode: vip
replicas: 2
healthcheck:
test: echo ruok | nc 127.0.0.1 8020 || exit 1
interval: 20s
timeout: 3s
retries: 3
start_period: 60s
Docker
1
https://gitee.com/anuxiy/microservice_deploy_docker_swarm.git
git@gitee.com:anuxiy/microservice_deploy_docker_swarm.git
anuxiy
microservice_deploy_docker_swarm
微服务部署 swarm 方式
master

搜索帮助