mirror of https://github.com/jeecgboot/jeecg-boot
微服务docker启动增加sentinel和xxljob
parent
a3969a5c63
commit
120cf85eb4
|
@ -109,27 +109,28 @@ services:
|
||||||
# environment:
|
# environment:
|
||||||
# RABBITMQ_DEFAULT_USER: guest
|
# RABBITMQ_DEFAULT_USER: guest
|
||||||
# RABBITMQ_DEFAULT_PASS: guest
|
# RABBITMQ_DEFAULT_PASS: guest
|
||||||
# jeecg-boot-sentinel:
|
|
||||||
# restart: on-failure
|
jeecg-boot-sentinel:
|
||||||
# build:
|
restart: on-failure
|
||||||
# context: ./jeecg-visual/jeecg-cloud-sentinel
|
build:
|
||||||
# ports:
|
context: ./jeecg-boot/jeecg-server-cloud/jeecg-visual/jeecg-cloud-sentinel
|
||||||
# - 9000:9000
|
ports:
|
||||||
# depends_on:
|
- 9000:9000
|
||||||
# - jeecg-boot-nacos
|
depends_on:
|
||||||
# - jeecg-boot-demo
|
- jeecg-boot-nacos
|
||||||
# - jeecg-boot-system
|
- jeecg-boot-demo
|
||||||
# - jeecg-boot-gateway
|
- jeecg-boot-system
|
||||||
# container_name: jeecg-boot-sentinel
|
- jeecg-boot-gateway
|
||||||
# hostname: jeecg-boot-sentinel
|
container_name: jeecg-boot-sentinel
|
||||||
#
|
hostname: jeecg-boot-sentinel
|
||||||
# jeecg-boot-xxljob:
|
|
||||||
# build:
|
jeecg-boot-xxljob:
|
||||||
# context: ./jeecg-visual/jeecg-cloud-xxljob
|
build:
|
||||||
# ports:
|
context: ./jeecg-boot/jeecg-server-cloud/jeecg-visual/jeecg-cloud-xxljob
|
||||||
# - 9080:9080
|
ports:
|
||||||
# container_name: jeecg-boot-xxljob
|
- 9080:9080
|
||||||
# hostname: jeecg-boot-xxljob
|
container_name: jeecg-boot-xxljob
|
||||||
|
hostname: jeecg-boot-xxljob
|
||||||
|
|
||||||
jeecg-vue:
|
jeecg-vue:
|
||||||
build:
|
build:
|
||||||
|
|
|
@ -12,5 +12,5 @@ EXPOSE 9080
|
||||||
|
|
||||||
ADD ./target/jeecg-cloud-xxljob-3.8.3.jar ./
|
ADD ./target/jeecg-cloud-xxljob-3.8.3.jar ./
|
||||||
|
|
||||||
CMD java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar jeecg-cloud-xxljob-3.8.3.jar
|
CMD sleep 60;java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar jeecg-cloud-xxljob-3.8.3.jar
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue