[#39] 增加新docker compose部署方式,验证通过gpu部署;剩余fluent-bit logs目录权限问题 以及 gpu bundle打包优化问题
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
# 重要:使用 Logstash_Format + Logstash_Prefix,生成 train-*/infer-* 索引
|
||||
# 说明:Fluent Bit 配置仅支持 ${VAR} 占位符,不支持 Bash 的 ${VAR:-default}
|
||||
# 固定域名要求:使用 es.log.argus.com 与端口 9200
|
||||
[OUTPUT]
|
||||
Name es
|
||||
Match app.train
|
||||
Host ${ES_HOST:-localhost}
|
||||
Port ${ES_PORT:-9200}
|
||||
Host es.log.argus.com
|
||||
Port 9200
|
||||
Logstash_Format On
|
||||
Logstash_Prefix train
|
||||
Replace_Dots On
|
||||
@@ -14,8 +16,8 @@
|
||||
[OUTPUT]
|
||||
Name es
|
||||
Match app.infer
|
||||
Host ${ES_HOST:-localhost}
|
||||
Port ${ES_PORT:-9200}
|
||||
Host es.log.argus.com
|
||||
Port 9200
|
||||
Logstash_Format On
|
||||
Logstash_Prefix infer
|
||||
Replace_Dots On
|
||||
|
||||
@@ -206,7 +206,8 @@ export HOSTNAME
|
||||
|
||||
export CLUSTER="${CLUSTER:-local}"
|
||||
export RACK="${RACK:-dev}"
|
||||
export ES_HOST="${ES_HOST:-localhost}"
|
||||
# 默认使用固定域名(满足“固定域名”需求);若外部传入覆盖,则使用外部值
|
||||
export ES_HOST="${ES_HOST:-es.log.argus.com}"
|
||||
export ES_PORT="${ES_PORT:-9200}"
|
||||
|
||||
log_info "Environment variables:"
|
||||
|
||||
Reference in New Issue
Block a user