Working implementation of webhooks using new 'redis' container
This commit is contained in:
parent
6b5a4cf1db
commit
b88974ef9f
6 changed files with 62 additions and 3 deletions
16
configuration/supervisord.conf
Normal file
16
configuration/supervisord.conf
Normal file
|
@ -0,0 +1,16 @@
|
|||
[supervisord]
|
||||
nodaemon=true
|
||||
|
||||
[supervisorctl]
|
||||
|
||||
[program:netbox]
|
||||
command = gunicorn -c /etc/netbox/config/gunicorn_config.py netbox.wsgi
|
||||
directory = /opt/netbox/netbox/
|
||||
stdout_logfile=/dev/stdout
|
||||
stdout_logfile_maxbytes=0
|
||||
user = nobody
|
||||
|
||||
[program:netbox-rqworker]
|
||||
command = python3 /opt/netbox/netbox/manage.py rqworker
|
||||
directory = /opt/netbox/netbox/
|
||||
user = nobody
|
Loading…
Add table
Add a link
Reference in a new issue