Skip to content

Commit

Permalink
[优化] 优化 Docker Compose 脚本
Browse files Browse the repository at this point in the history
  • Loading branch information
herodotus-ecosystem committed Apr 15, 2023
1 parent 00ea105 commit 51cacb0
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 25 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
NACOS_AUTH_IDENTITY_VALUE: security
NACOS_AUTH_TOKEN: SecretKey012345678901234567890123456789012345678901234567890123456789
volumes:
- D:\\LocalCaches\\docker-volumes\\nacos\\datas:/home/nacos/data
- D:\\local-cached\\docker-volumes\\nacos\\datas:/home/nacos/data
ports:
- "8848:8848"
- "9848:9848"
Expand Down Expand Up @@ -99,6 +99,6 @@ services:
MAX_OPEN_FILES: 65536
TZ: Asia/Shanghai
volumes:
- D:\\LocalCaches\\docker-volumes\\elk\\elasticsearch\\datas:/var/lib/elasticsearch
- D:\\LocalCaches\\docker-volumes\\elk\\elasticsearch\\logs:/var/log/elasticsearch
- D:\\LocalCaches\\docker-volumes\\elk\\logstash\\conf.d:/etc/logstash/conf.d
- D:\\local-cached\\docker-volumes\\elk\\elasticsearch\\datas:/var/lib/elasticsearch
- D:\\local-cached\\docker-volumes\\elk\\elasticsearch\\logs:/var/log/elasticsearch
- D:\\local-cached\\docker-volumes\\elk\\logstash\\conf.d:/etc/logstash/conf.d
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@ services:
MAX_OPEN_FILES: 65536
TZ: Asia/Shanghai
volumes:
- D:\\LocalCaches\\docker-volumes\\elk\\elasticsearch\\datas:/var/lib/elasticsearch
- D:\\LocalCaches\\docker-volumes\\elk\\elasticsearch\\logs:/var/log/elasticsearch
- D:\\LocalCaches\\docker-volumes\\elk\\logstash\\conf.d:/etc/logstash/conf.d
- D:\\local-cached\\docker-volumes\\elk\\elasticsearch\\datas:/var/lib/elasticsearch
- D:\\local-cached\\docker-volumes\\elk\\elasticsearch\\logs:/var/log/elasticsearch
- D:\\local-cached\\docker-volumes\\elk\\logstash\\conf.d:/etc/logstash/conf.d
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:
NACOS_AUTH_IDENTITY_VALUE: security
NACOS_AUTH_TOKEN: SecretKey012345678901234567890123456789012345678901234567890123456789
volumes:
- D:\\LocalCaches\\docker-volumes\\nacos\\datas:/home/nacos/data
- D:\\local-cached\\docker-volumes\\nacos\\datas:/home/nacos/data
ports:
- "8848:8848"
- "9848:9848"
Expand Down Expand Up @@ -66,9 +66,9 @@ services:
MAX_OPEN_FILES: 65536
TZ: Asia/Shanghai
volumes:
- D:\\LocalCaches\\docker-volumes\\elk\\elasticsearch\\datas:/var/lib/elasticsearch
- D:\\LocalCaches\\docker-volumes\\elk\\elasticsearch\\logs:/var/log/elasticsearch
- D:\\LocalCaches\\docker-volumes\\elk\\logstash\\conf.d:/etc/logstash/conf.d
- D:\\local-cached\\docker-volumes\\elk\\elasticsearch\\datas:/var/lib/elasticsearch
- D:\\local-cached\\docker-volumes\\elk\\elasticsearch\\logs:/var/log/elasticsearch
- D:\\local-cached\\docker-volumes\\elk\\logstash\\conf.d:/etc/logstash/conf.d

sentinel:
image: herodotus/sentinel-dashboard:1.8.5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ services:
NACOS_AUTH_IDENTITY_VALUE: security
NACOS_AUTH_TOKEN: SecretKey012345678901234567890123456789012345678901234567890123456789
volumes:
- D:\\LocalCaches\\docker-volumes\\nacos\\datas:/home/nacos/data
- D:\\local-cached\\docker-volumes\\nacos\\datas:/home/nacos/data
ports:
- "8848:8848"
- "9848:9848"
Expand Down Expand Up @@ -66,9 +66,9 @@ services:
MAX_OPEN_FILES: 65536
TZ: Asia/Shanghai
volumes:
- D:\\LocalCaches\\docker-volumes\\elk\\elasticsearch\\datas:/var/lib/elasticsearch
- D:\\LocalCaches\\docker-volumes\\elk\\elasticsearch\\logs:/var/log/elasticsearch
- D:\\LocalCaches\\docker-volumes\\elk\\logstash\\conf.d:/etc/logstash/conf.d
- D:\\local-cached\\docker-volumes\\elk\\elasticsearch\\datas:/var/lib/elasticsearch
- D:\\local-cached\\docker-volumes\\elk\\elasticsearch\\logs:/var/log/elasticsearch
- D:\\local-cached\\docker-volumes\\elk\\logstash\\conf.d:/etc/logstash/conf.d

sentinel:
image: herodotus/sentinel-dashboard:1.8.5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
MINIO_ROOT_PASSWORD: herodotus
TZ: Asia/Shanghai
volumes:
- D:\\LocalCaches\\docker-volumes\\minio\\data:/data
- D:\\LocalCaches\\docker-volumes\\minio\\minio\\config:/root/.minio/
- D:\\local-cached\\docker-volumes\\minio\\data:/data
- D:\\local-cached\\docker-volumes\\minio\\minio\\config:/root/.minio/
command: server --console-address ':9001' /data
privileged: true
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ services:
INFLUXDB_HTTP_AUTH_ENABLED: "true"
INFLUXDB_DB: sentinel
volumes:
- D:\\LocalCaches\\docker-volumes\\tick\\conf\\influxdb.conf:/etc/influxdb/influxdb.conf:ro
- D:\\LocalCaches\\docker-volumes\\tick\\data\\influxdb:/var/lib/influxdb2
- D:\\local-cached\\docker-volumes\\tick\\conf\\influxdb.conf:/etc/influxdb/influxdb.conf:ro
- D:\\local-cached\\docker-volumes\\tick\\data\\influxdb:/var/lib/influxdb2
ports:
- "8086:8086"

Expand All @@ -22,7 +22,7 @@ services:
INFLUXDB_USERNAME: herodotus
INFLUXDB_PASSWORD: herodotus
volumes:
- D:\\LocalCaches\\docker-volumes\\tick\\data\\chronograf:/var/lib/chronograf
- D:\\local-cached\\docker-volumes\\tick\\data\\chronograf:/var/lib/chronograf
ports:
- '8888:8888'
depends_on:
Expand All @@ -32,7 +32,7 @@ services:
image: telegraf:latest
container_name: telegraf
volumes:
- D:\\LocalCaches\\docker-volumes\\tick\\conf\\telegraf.conf:/etc/telegraf/telegraf.conf:ro
- D:\\local-cached\\docker-volumes\\tick\\conf\\telegraf.conf:/etc/telegraf/telegraf.conf:ro
ports:
- "8092:8092/udp"
- "8094:8094"
Expand All @@ -46,8 +46,8 @@ services:
environment:
KAPACITOR_INFLUXDB_0_URLS_0: http://influxdb:8086
volumes:
- D:\\LocalCaches\\docker-volumes\\tick\\conf\\kapacitor.conf:/etc/kapacitor/kapacitor.conf:ro
- D:\\LocalCaches\\docker-volumes\\tick\\data\\kapacitor:/var/lib/kapacitor
- D:\\local-cached\\docker-volumes\\tick\\conf\\kapacitor.conf:/etc/kapacitor/kapacitor.conf:ro
- D:\\local-cached\\docker-volumes\\tick\\data\\kapacitor:/var/lib/kapacitor
ports:
- "9292:9092"
depends_on:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ services:
environment:
TZ: "Asia/Shanghai"
volumes:
- D:\\LocalCaches\\docker-volumes\\jenkins\\jenkins_home:/var/jenkins_home
- D:\\LocalCaches\\docker-volumes\\run\\docker.sock:/var/run/docker.sock
- D:\\local-cached\\docker-volumes\\jenkins\\jenkins_home:/var/jenkins_home
- D:\\local-cached\\docker-volumes\\run\\docker.sock:/var/run/docker.sock
- C:\\Users\\gengwei.zheng:/home
- D:\\Environment\\maven-repository:/root/.m2
ports:
Expand Down

0 comments on commit 51cacb0

Please sign in to comment.