Register
Login
Resources
Docs Blog Datasets Glossary Case Studies Tutorials & Webinars
Product
Data Engine LLMs Platform Enterprise
Pricing Explore
Connect to our Discord channel

supervisord.conf 803 B

You have to be logged in to leave a comment. Sign In
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
  1. [supervisord]
  2. nodaemon = true
  3. loglevel = info
  4. logfile = supervisord.log
  5. [inet_http_server]
  6. port=127.0.0.1:9001
  7. [supervisorctl]
  8. serverurl=http://127.0.0.1:9001
  9. [rpcinterface:supervisor]
  10. supervisor.rpcinterface_factory = supervisor.rpcinterface:make_main_rpcinterface
  11. [program:rq]
  12. process_name=%(program_name)s_%(process_num)02d
  13. command = rq worker --url redis://%(ENV_REDIS_HOST)s:6379/0 %(ENV_RQ_QUEUE_NAME)s
  14. stdout_logfile = /tmp/rq.log
  15. stdout_logfile_maxbytes = 0
  16. redirect_stderr = true
  17. stopsignal = TERM
  18. autostart = true
  19. autorestart = true
  20. killasgroup = true
  21. stopasgroup = true
  22. numprocs = 1
  23. [program:wsgi]
  24. environment =
  25. RQ_QUEUE_NAME="%(ENV_RQ_QUEUE_NAME)s",
  26. REDIS_HOST="%(ENV_REDIS_HOST)s"
  27. command = uwsgi --ini /etc/uwsgi/uwsgi.ini
  28. autostart = true
  29. autorestart = true
  30. stopsignal = QUIT
Tip!

Press p or to see the previous file or, n or to see the next file

Comments

Loading...