Skip to content

Commit

Permalink
Added supervisord.conf
Browse files Browse the repository at this point in the history
  • Loading branch information
twdbben committed Dec 10, 2024
1 parent 56f141d commit 841d61d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions docker/ckan/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,7 @@ RUN ckan config-tool ${APP_DIR}/production.ini "ckan.plugins = ${CKAN__PLUGINS}"
mkdir -v /var/log/ckan

# Setup supervisor
COPY ./supervisord.conf /etc/supervisor/
COPY ./supervisor-ckan-worker.conf /etc/supervisor/conf.d/

# install Rust, then qsvdp
Expand Down
23 changes: 23 additions & 0 deletions docker/ckan/supervisord.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
[unix_http_server]
file = /tmp/supervisor.sock
chmod = 0777
chown = nobody:nogroup

[supervisord]
logfile = /tmp/supervisord.log
logfile_maxbytes = 50MB
logfile_backups=10
loglevel = info
pidfile = /tmp/supervisord.pid
nodaemon = true
umask = 022
identifier = supervisor

[supervisorctl]
serverurl = unix:///tmp/supervisor.sock

[rpcinterface:supervisor]
supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface

[include]
files = /etc/supervisord.d/*.conf

0 comments on commit 841d61d

Please sign in to comment.