|
@@ -2,7 +2,7 @@ version: '3.8'
|
|
|
services:
|
|
services:
|
|
|
happy-cloud-gateway:
|
|
happy-cloud-gateway:
|
|
|
build:
|
|
build:
|
|
|
- context: /mnt/product/cloud/jar/happy-cloud-gateway
|
|
|
|
|
|
|
+ context: ../../../happy-cloud-gateway
|
|
|
restart: always
|
|
restart: always
|
|
|
ports:
|
|
ports:
|
|
|
- 9999:9999
|
|
- 9999:9999
|
|
@@ -10,9 +10,7 @@ services:
|
|
|
hostname: happy-cloud-gateway
|
|
hostname: happy-cloud-gateway
|
|
|
image: happy-cloud-gateway
|
|
image: happy-cloud-gateway
|
|
|
env_file:
|
|
env_file:
|
|
|
- - /mnt/product/cloud/happycloud/java_opts.env #指定配置文件启动
|
|
|
|
|
- volumes:
|
|
|
|
|
- - /mnt/product/cloud/jar/happy-cloud-gateway/log:/cloud/logs/happy-cloud-gateway #挂载logback日志
|
|
|
|
|
|
|
+ - ../../../doc/happycloud/java_opts.env #指定配置文件启动
|
|
|
environment:
|
|
environment:
|
|
|
- "TZ=Asia/Shanghai"
|
|
- "TZ=Asia/Shanghai"
|
|
|
networks:
|
|
networks:
|
|
@@ -20,15 +18,13 @@ services:
|
|
|
|
|
|
|
|
happy-cloud-system:
|
|
happy-cloud-system:
|
|
|
build:
|
|
build:
|
|
|
- context: /mnt/product/cloud/jar/happy-cloud-system-biz
|
|
|
|
|
|
|
+ context: ../../../happy-cloud-system/happy-cloud-system-biz
|
|
|
restart: always
|
|
restart: always
|
|
|
container_name: happy-cloud-system
|
|
container_name: happy-cloud-system
|
|
|
hostname: happy-cloud-system
|
|
hostname: happy-cloud-system
|
|
|
image: happy-cloud-system
|
|
image: happy-cloud-system
|
|
|
env_file:
|
|
env_file:
|
|
|
- - /mnt/product/cloud/happycloud/java_opts.env #指定配置文件启动
|
|
|
|
|
- volumes:
|
|
|
|
|
- - /mnt/product/cloud/jar/happy-cloud-system-biz/log:/cloud/logs/happy-cloud-system-biz #挂载logback日志
|
|
|
|
|
|
|
+ - ../../../doc/happycloud/java_opts.env #指定配置文件启动
|
|
|
environment:
|
|
environment:
|
|
|
- "TZ=Asia/Shanghai"
|
|
- "TZ=Asia/Shanghai"
|
|
|
networks:
|
|
networks:
|
|
@@ -36,15 +32,13 @@ services:
|
|
|
|
|
|
|
|
happy-cloud-wisdom:
|
|
happy-cloud-wisdom:
|
|
|
build:
|
|
build:
|
|
|
- context: /mnt/product/cloud/jar/happy-cloud-wisdom-biz
|
|
|
|
|
|
|
+ context: ../../../happy-cloud-wisdom/happy-cloud-wisdom-biz
|
|
|
restart: always
|
|
restart: always
|
|
|
container_name: happy-cloud-wisdom
|
|
container_name: happy-cloud-wisdom
|
|
|
hostname: happy-cloud-wisdom
|
|
hostname: happy-cloud-wisdom
|
|
|
image: happy-cloud-wisdom
|
|
image: happy-cloud-wisdom
|
|
|
env_file:
|
|
env_file:
|
|
|
- - /mnt/product/cloud/happycloud/java_opts.env #指定配置文件启动
|
|
|
|
|
- volumes:
|
|
|
|
|
- - /mnt/product/cloud/jar/happy-cloud-wisdom-biz/log:/cloud/logs/happy-cloud-wisdom-biz
|
|
|
|
|
|
|
+ - ../../../doc/happycloud/java_opts.env #指定配置文件启动
|
|
|
environment:
|
|
environment:
|
|
|
- "TZ=Asia/Shanghai"
|
|
- "TZ=Asia/Shanghai"
|
|
|
networks:
|
|
networks:
|
|
@@ -53,7 +47,7 @@ services:
|
|
|
#分布式定时任务
|
|
#分布式定时任务
|
|
|
happy-cloud-xxl-job:
|
|
happy-cloud-xxl-job:
|
|
|
build:
|
|
build:
|
|
|
- context: /mnt/product/cloud/jar/happy-cloud-xxl-job
|
|
|
|
|
|
|
+ context: ../../../happy-cloud-xxl-job/happy-cloud-xxl-job-admin
|
|
|
restart: always
|
|
restart: always
|
|
|
ports:
|
|
ports:
|
|
|
- 9004:8004
|
|
- 9004:8004
|
|
@@ -61,9 +55,7 @@ services:
|
|
|
hostname: happy-cloud-xxl-job
|
|
hostname: happy-cloud-xxl-job
|
|
|
image: happy-cloud-xxl-job
|
|
image: happy-cloud-xxl-job
|
|
|
env_file:
|
|
env_file:
|
|
|
- - /mnt/product/cloud/happycloud/java_opts.env #指定配置文件启动
|
|
|
|
|
- volumes:
|
|
|
|
|
- - /mnt/product/cloud/jar/happy-cloud-xxl-job/log:/cloud/logs/happy-cloud-xxl-job
|
|
|
|
|
|
|
+ - ../../../doc/happycloud/java_opts.env #指定配置文件启动
|
|
|
environment:
|
|
environment:
|
|
|
- "TZ=Asia/Shanghai"
|
|
- "TZ=Asia/Shanghai"
|
|
|
networks:
|
|
networks:
|
|
@@ -71,54 +63,52 @@ services:
|
|
|
|
|
|
|
|
happy-cloud-auth:
|
|
happy-cloud-auth:
|
|
|
build:
|
|
build:
|
|
|
- context: /mnt/product/cloud/jar/happy-cloud-auth
|
|
|
|
|
|
|
+ context: ../../../happy-cloud-auth
|
|
|
restart: always
|
|
restart: always
|
|
|
container_name: happy-cloud-auth
|
|
container_name: happy-cloud-auth
|
|
|
hostname: happy-cloud-auth
|
|
hostname: happy-cloud-auth
|
|
|
image: happy-cloud-auth
|
|
image: happy-cloud-auth
|
|
|
env_file:
|
|
env_file:
|
|
|
- - /mnt/product/cloud/happycloud/java_opts.env #指定配置文件启动
|
|
|
|
|
- volumes:
|
|
|
|
|
- - /mnt/product/cloud/jar/happy-cloud-auth/log:/cloud/logs/happy-cloud-auth
|
|
|
|
|
|
|
+ - ../../../doc/happycloud/java_opts.env #指定配置文件启动
|
|
|
environment:
|
|
environment:
|
|
|
- "TZ=Asia/Shanghai"
|
|
- "TZ=Asia/Shanghai"
|
|
|
networks:
|
|
networks:
|
|
|
- custom_net
|
|
- custom_net
|
|
|
|
|
|
|
|
#sentinel限流
|
|
#sentinel限流
|
|
|
- happy-cloud-sentinel:
|
|
|
|
|
- build:
|
|
|
|
|
- context: /mnt/product/cloud/jar/happy-cloud-sentinel
|
|
|
|
|
- restart: always
|
|
|
|
|
- ports:
|
|
|
|
|
- - 8888:8888
|
|
|
|
|
- env_file:
|
|
|
|
|
- - /mnt/product/cloud/sentinel/env/sentinel.env #指定配置文件启动
|
|
|
|
|
- volumes:
|
|
|
|
|
- - /mnt/product/cloud/jar/happy-cloud-sentinel/log:/root/logs/csp #日志挂载
|
|
|
|
|
- container_name: happy-cloud-sentinel
|
|
|
|
|
- hostname: happy-cloud-sentinel
|
|
|
|
|
- image: happy-cloud-sentinel
|
|
|
|
|
- networks:
|
|
|
|
|
- - custom_net
|
|
|
|
|
-
|
|
|
|
|
- happy-cloud-monitor:
|
|
|
|
|
- build:
|
|
|
|
|
- context: /mnt/product/cloud/jar/happy-cloud-monitor
|
|
|
|
|
- restart: always
|
|
|
|
|
- ports:
|
|
|
|
|
- - 9111:9111
|
|
|
|
|
- container_name: happy-cloud-monitor
|
|
|
|
|
- hostname: happy-cloud-monitor
|
|
|
|
|
- image: happy-cloud-monitor
|
|
|
|
|
- env_file:
|
|
|
|
|
- - /mnt/product/cloud/happycloud/java_opts.env #指定配置文件启动
|
|
|
|
|
- volumes:
|
|
|
|
|
- - /mnt/product/cloud/jar/happy-cloud-monitor/log:/cloud/logs/happy-cloud-monitor
|
|
|
|
|
- environment:
|
|
|
|
|
- - "TZ=Asia/Shanghai"
|
|
|
|
|
- networks:
|
|
|
|
|
- - custom_net
|
|
|
|
|
|
|
+# happy-cloud-sentinel:
|
|
|
|
|
+# build:
|
|
|
|
|
+# context: /mnt/product/cloud/jar/happy-cloud-sentinel
|
|
|
|
|
+# restart: always
|
|
|
|
|
+# ports:
|
|
|
|
|
+# - 8888:8888
|
|
|
|
|
+# env_file:
|
|
|
|
|
+# - /mnt/product/cloud/sentinel/env/sentinel.env #指定配置文件启动
|
|
|
|
|
+# volumes:
|
|
|
|
|
+# - /mnt/product/cloud/jar/happy-cloud-sentinel/log:/root/logs/csp #日志挂载
|
|
|
|
|
+# container_name: happy-cloud-sentinel
|
|
|
|
|
+# hostname: happy-cloud-sentinel
|
|
|
|
|
+# image: happy-cloud-sentinel
|
|
|
|
|
+# networks:
|
|
|
|
|
+# - custom_net
|
|
|
|
|
+#
|
|
|
|
|
+# happy-cloud-monitor:
|
|
|
|
|
+# build:
|
|
|
|
|
+# context: /mnt/product/cloud/jar/happy-cloud-monitor
|
|
|
|
|
+# restart: always
|
|
|
|
|
+# ports:
|
|
|
|
|
+# - 9111:9111
|
|
|
|
|
+# container_name: happy-cloud-monitor
|
|
|
|
|
+# hostname: happy-cloud-monitor
|
|
|
|
|
+# image: happy-cloud-monitor
|
|
|
|
|
+# env_file:
|
|
|
|
|
+# - /mnt/product/cloud/happycloud/java_opts.env #指定配置文件启动
|
|
|
|
|
+# volumes:
|
|
|
|
|
+# - /mnt/product/cloud/jar/happy-cloud-monitor/log:/cloud/logs/happy-cloud-monitor
|
|
|
|
|
+# environment:
|
|
|
|
|
+# - "TZ=Asia/Shanghai"
|
|
|
|
|
+# networks:
|
|
|
|
|
+# - custom_net
|
|
|
|
|
|
|
|
networks:
|
|
networks:
|
|
|
custom_net:
|
|
custom_net:
|