File tree 2 files changed +36
-0
lines changed
2 files changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,14 @@ COPY ["etc/rsyslog.conf", "/etc/rsyslog.conf"]
34
34
COPY ["etc/rsyslog.d/*", "/etc/rsyslog.d/"]
35
35
COPY ["root/.vimrc", "/root/.vimrc"]
36
36
37
+ # Install dependencies of supervisor
38
+ RUN apt-get -y install python-pkg-resources python-meld3
39
+
40
+ RUN mkdir -p /etc/supervisor
41
+ RUN mkdir -p /var/log/supervisor
42
+
43
+ COPY ["etc/supervisor/supervisord.conf", "/etc/supervisor/"]
44
+
37
45
RUN apt-get -y purge \
38
46
exim4 \
39
47
exim4-base \
Original file line number Diff line number Diff line change
1
+ ; supervisor config file
2
+
3
+ [unix_http_server]
4
+ file=/var/run/supervisor.sock ; (the path to the socket file)
5
+ chmod=0700 ; sockef file mode (default 0700)
6
+
7
+ [supervisord]
8
+ logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log)
9
+ pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
10
+ childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP)
11
+
12
+ ; the below section must remain in the config file for RPC
13
+ ; (supervisorctl/web interface) to work, additional interfaces may be
14
+ ; added by defining them in separate rpcinterface: sections
15
+ [rpcinterface:supervisor]
16
+ supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
17
+
18
+ [supervisorctl]
19
+ serverurl=unix:///var/run/supervisor.sock ; use a unix:// URL for a unix socket
20
+
21
+ ; The [include] section can just contain the "files" setting. This
22
+ ; setting can list multiple files (separated by whitespace or
23
+ ; newlines). It can also contain wildcards. The filenames are
24
+ ; interpreted as relative to this file. Included files *cannot*
25
+ ; include files themselves.
26
+
27
+ [include]
28
+ files = /etc/supervisor/conf.d/*.conf
You can’t perform that action at this time.
0 commit comments