; supervisor config file
[supervisord] logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log) pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid) childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP) nodaemon=true
[unix_http_server] file=/tmp/supervisor.sock ; (the path to the socket file) ;chmod=0700 ; socket file mode (default 0700)
[inet_http_server] ; inet (TCP) server disabled by default port=9001 ; (ip_address:port specifier, *:port for all iface) username=admin ; (default is no username (open server)) password=p2ssw0rd ; (default is no password (open server))
[rpcinterface:supervisor] supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl] serverurl=unix:///tmp/supervisor.sock ; use a unix:// URL for a unix socket
[include] files = /etc/supervisor/conf.d/*.conf
FROM java:8-jdk
MAINTAINER SAJAL JAIN [email protected]
#Install Basic Packages and Supervisor
RUN apt-get update &&
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y
vim supervisor ca-certificates telnet net-tools tzdata &&
apt-get clean &&
rm -rf /var/lib/apt/lists/*
#Update Timezone Asia/Kolkata
RUN cp -vf /usr/share/zoneinfo/Asia/Kolkata /etc/localtime &&
echo Asia/Kolkata | tee /etc/timezone
#Updating Supervisor Main Conf COPY supervisord.conf /etc/supervisor/supervisord.conf
#Exposing Supervisor EXPOSE 9001
#Default command CMD ["supervisord", "-c", "/etc/supervisor/supervisord.conf"]
Content type
Image
Digest
Size
244.6 MB
Last updated
over 8 years ago
docker pull sjdocker/java8-supervisor