docker微服务镜像启动,增加sentinel

This commit is contained in:
zhangdaiscott
2022-07-21 14:19:22 +08:00
parent c0f61d236b
commit 3285101bdb
2 changed files with 29 additions and 0 deletions

View File

@ -43,6 +43,20 @@ services:
container_name: jeecg-boot-gateway
hostname: jeecg-boot-gateway
jeecg-boot-sentinel:
restart: on-failure
build:
context: ./jeecg-cloud-sentinel
ports:
- 9000:9000
depends_on:
- jeecg-boot-nacos
- jeecg-boot-demo
- jeecg-boot-system
- jeecg-boot-gateway
container_name: jeecg-boot-sentinel
hostname: jeecg-boot-sentinel
# jeecg-boot-xxljob:
# build:
# context: ./jeecg-cloud-xxljob