Public Repository

Last pushed: 10 months ago
Short Description
使用centos基本镜像构建supervisord基本镜像,进行后期管理服务
Full Description

FROM finance/centos6.8-base
MAINTAINER Andy_xu
ENV LANG=zh_CN.UTF-8;\
LC_ALL=zh_CN.UTF-8;\
TZ="Asia/Shanghai";\
TERM=xterm

#install pip and supervisor
RUN curl https://bootstrap.pypa.io/get-pip.py | python ;\
pip install supervisor;

ADD supervisord.conf /etc/supervisord.conf

CMD ["supervisord","-c","/etc/supervisord.conf"]

Docker Pull Command
Owner
finance

Comments (1)
xxbandy123
10 months ago

[supervisord]
http_port=/var/tmp/supervisor.sock ; (default is to run a UNIX domain socket server)
logfile=/var/log/supervisord.log ; (main log file;default $CWD/supervisord.log)
logfile_maxbytes=50MB ; (max main logfile bytes b4 rotation;default 50MB)
logfile_backups=10 ; (num of main logfile rotation backups;default 10)
loglevel=info ; (logging level;default info; others: debug,warn)
pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
nodaemon=true ; (start in foreground if true;default false)
minfds=1024 ; (min. avail startup file descriptors;default 1024)
minprocs=200 ; (min. avail process descriptors;default 200)

[supervisorctl]
serverurl=unix:///var/tmp/supervisor.sock ; use a unix:// URL for a unix socket