dev_1.0.0_yuyr 完成 log和bind模块开发部署测试 #8
@ -32,6 +32,9 @@ COPY start-kibana-supervised.sh /usr/local/bin/start-kibana-supervised.sh
|
|||||||
COPY kibana-post-start.sh /usr/local/bin/kibana-post-start.sh
|
COPY kibana-post-start.sh /usr/local/bin/kibana-post-start.sh
|
||||||
RUN chmod +x /usr/local/bin/start-kibana-supervised.sh /usr/local/bin/kibana-post-start.sh
|
RUN chmod +x /usr/local/bin/start-kibana-supervised.sh /usr/local/bin/kibana-post-start.sh
|
||||||
|
|
||||||
|
# kibana需要用到 /root/.config/puppeteer 路径
|
||||||
|
RUN chmod 777 /root
|
||||||
|
|
||||||
# 保持 root 用户,由 supervisor 管理用户切换
|
# 保持 root 用户,由 supervisor 管理用户切换
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
@ -39,4 +42,4 @@ USER root
|
|||||||
EXPOSE 5601
|
EXPOSE 5601
|
||||||
|
|
||||||
# 使用 supervisor 作为入口点
|
# 使用 supervisor 作为入口点
|
||||||
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
|
CMD ["/usr/bin/supervisord", "-c", "/etc/supervisor/conf.d/supervisord.conf"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user