|
|
@@ -9,6 +9,8 @@ services:
|
|
|
container_name: happy-cloud-gateway
|
|
|
hostname: happy-cloud-gateway
|
|
|
image: happy-cloud-gateway
|
|
|
+ env_file:
|
|
|
+ - /mnt/product/cloud/happycloud/java_opts.env #指定配置文件启动
|
|
|
volumes:
|
|
|
- /mnt/product/cloud/jar/happy-cloud-gateway/log:/cloud/logs/happy-cloud-gateway #挂载logback日志
|
|
|
environment:
|
|
|
@@ -23,6 +25,8 @@ services:
|
|
|
container_name: happy-cloud-system
|
|
|
hostname: happy-cloud-system
|
|
|
image: happy-cloud-system
|
|
|
+ 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日志
|
|
|
environment:
|
|
|
@@ -37,6 +41,8 @@ services:
|
|
|
container_name: happy-cloud-wisdom
|
|
|
hostname: happy-cloud-wisdom
|
|
|
image: happy-cloud-wisdom
|
|
|
+ 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
|
|
|
environment:
|
|
|
@@ -54,6 +60,8 @@ services:
|
|
|
container_name: happy-cloud-xxl-job
|
|
|
hostname: happy-cloud-xxl-job
|
|
|
image: happy-cloud-xxl-job
|
|
|
+ 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
|
|
|
environment:
|
|
|
@@ -68,6 +76,8 @@ services:
|
|
|
container_name: happy-cloud-auth
|
|
|
hostname: happy-cloud-auth
|
|
|
image: happy-cloud-auth
|
|
|
+ env_file:
|
|
|
+ - /mnt/product/cloud/happycloud/java_opts.env #指定配置文件启动
|
|
|
volumes:
|
|
|
- /mnt/product/cloud/jar/happy-cloud-auth/log:/cloud/logs/happy-cloud-auth
|
|
|
environment:
|
|
|
@@ -101,6 +111,8 @@ services:
|
|
|
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:
|