微服务docker镜像制作

This commit is contained in:
zhangdaiscott
2022-07-21 11:26:50 +08:00
parent d7b423fb59
commit c0f61d236b
3 changed files with 36 additions and 1 deletions

View File

@ -20,6 +20,17 @@ services:
environment:
- TZ=Asia/Shanghai
jeecg-boot-demo:
depends_on:
- jeecg-boot-nacos
build:
context: ../jeecg-boot-module-demo
container_name: jeecg-boot-demo
hostname: jeecg-boot-demo
restart: on-failure
environment:
- TZ=Asia/Shanghai
jeecg-boot-gateway:
restart: on-failure
build: