supervisord.pipeline.conf 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. [supervisord]
  2. nodaemon=true
  3. logfile=/dev/null
  4. logfile_maxbytes=0
  5. pidfile=/tmp/supervisord.pid
  6. [program:api]
  7. command=python -m api
  8. directory=/app
  9. environment=PROCESS_ROLE="api"
  10. autostart=true
  11. autorestart=unexpected
  12. startsecs=3
  13. stopasgroup=true
  14. killasgroup=true
  15. stopwaitsecs=300
  16. stdout_logfile=/dev/stdout
  17. stdout_logfile_maxbytes=0
  18. stderr_logfile=/dev/stderr
  19. stderr_logfile_maxbytes=0
  20. [program:scheduler]
  21. command=python -m supply_infra.scheduler
  22. directory=/app
  23. environment=PROCESS_ROLE="scheduler"
  24. autostart=true
  25. autorestart=unexpected
  26. startsecs=3
  27. stopasgroup=true
  28. killasgroup=true
  29. stopwaitsecs=300
  30. stdout_logfile=/dev/stdout
  31. stdout_logfile_maxbytes=0
  32. stderr_logfile=/dev/stderr
  33. stderr_logfile_maxbytes=0
  34. [program:pipeline-worker]
  35. command=python -m supply_infra.pipeline.cli worker
  36. directory=/app
  37. environment=PROCESS_ROLE="worker"
  38. numprocs=%(ENV_PIPELINE_WORKER_PROCESSES)s
  39. process_name=%(program_name)s-%(process_num)02d
  40. autostart=true
  41. autorestart=unexpected
  42. startsecs=3
  43. stopasgroup=true
  44. killasgroup=true
  45. stopwaitsecs=300
  46. stdout_logfile=/dev/stdout
  47. stdout_logfile_maxbytes=0
  48. stderr_logfile=/dev/stderr
  49. stderr_logfile_maxbytes=0
  50. [program:pipeline-reconciler]
  51. command=python -m supply_infra.pipeline.cli reconciler
  52. directory=/app
  53. environment=PROCESS_ROLE="reconciler"
  54. autostart=true
  55. autorestart=unexpected
  56. startsecs=3
  57. stopasgroup=true
  58. killasgroup=true
  59. stopwaitsecs=300
  60. stdout_logfile=/dev/stdout
  61. stdout_logfile_maxbytes=0
  62. stderr_logfile=/dev/stderr
  63. stderr_logfile_maxbytes=0