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 951 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
36
37
38
39
40
  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. stopsignal = TERM
  15. autostart = true
  16. autorestart = true
  17. killasgroup = true
  18. stopasgroup = true
  19. numprocs = 1
  20. stderr_logfile = /dev/stderr
  21. stderr_logfile_maxbytes = 0
  22. stdout_logfile = /dev/stdout
  23. stdout_logfile_maxbytes = 0
  24. [program:wsgi]
  25. environment =
  26. RQ_QUEUE_NAME="%(ENV_RQ_QUEUE_NAME)s",
  27. REDIS_HOST="%(ENV_REDIS_HOST)s"
  28. command = uwsgi --ini /etc/uwsgi/uwsgi.ini
  29. autostart = true
  30. autorestart = true
  31. stopsignal = QUIT
  32. stderr_logfile = /dev/stderr
  33. stderr_logfile_maxbytes = 0
  34. stdout_logfile = /dev/stdout
  35. stdout_logfile_maxbytes = 0
Tip!

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

Comments

Loading...