[#1] 修改es/kibana应用账号的uid和gid, 对齐算力平台挂载目录;增加保存ip地址

This commit is contained in:
root
2025-09-17 08:40:47 +00:00
parent 40af0e74b7
commit d6dfdc3796
4 changed files with 27 additions and 2 deletions

View File

@@ -29,6 +29,11 @@ RUN if [ "$USE_INTRANET" = "true" ]; then \
# 创建 supervisor 日志目录
RUN mkdir -p /var/log/supervisor
# 修改elasticsearch用户的UID和GID
RUN usermod -u 2133 elasticsearch && \
groupmod -g 2015 elasticsearch && \
chown -R elasticsearch:elasticsearch /usr/share/elasticsearch
# 复制 supervisor 配置文件
COPY supervisord.conf /etc/supervisor/conf.d/supervisord.conf