supervisor.conf 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. [program:xvfb]
  2. priority=0
  3. command=/opt/bin/start-xvfb.sh
  4. autostart=true
  5. autorestart=true
  6. ;Logs
  7. redirect_stderr=false
  8. stdout_logfile=/var/log/supervisor/xvfb-stdout.log
  9. stderr_logfile=/var/log/supervisor/xvfb-stderr.log
  10. stdout_logfile_maxbytes=50MB
  11. stderr_logfile_maxbytes=50MB
  12. stdout_logfile_backups=5
  13. stderr_logfile_backups=5
  14. stdout_capture_maxbytes=50MB
  15. stderr_capture_maxbytes=50MB
  16. [program:vnc]
  17. priority=5
  18. command=/opt/bin/start-vnc.sh
  19. autostart=true
  20. autorestart=true
  21. ;Logs
  22. redirect_stderr=false
  23. stdout_logfile=/var/log/supervisor/vnc-stdout.log
  24. stderr_logfile=/var/log/supervisor/vnc-stderr.log
  25. stdout_logfile_maxbytes=50MB
  26. stderr_logfile_maxbytes=50MB
  27. stdout_logfile_backups=5
  28. stderr_logfile_backups=5
  29. stdout_capture_maxbytes=50MB
  30. stderr_capture_maxbytes=50MB
  31. [program:novnc]
  32. priority=10
  33. command=/opt/bin/start-novnc.sh
  34. autostart=true
  35. autorestart=true
  36. ;Logs
  37. redirect_stderr=false
  38. stdout_logfile=/var/log/supervisor/novnc-stdout.log
  39. stderr_logfile=/var/log/supervisor/novnc-stderr.log
  40. stdout_logfile_maxbytes=50MB
  41. stderr_logfile_maxbytes=50MB
  42. stdout_logfile_backups=5
  43. stderr_logfile_backups=5
  44. stdout_capture_maxbytes=50MB
  45. stderr_capture_maxbytes=50MB
  46. [program:g4f-api]
  47. priority=15
  48. command=python -m g4f.cli api
  49. directory=/app
  50. stopasgroup=true
  51. autostart=true
  52. autorestart=true
  53. ;Logs (all Hub activity redirected to stdout so it can be seen through "docker logs"
  54. redirect_stderr=true
  55. stdout_logfile=/dev/stdout
  56. stdout_logfile_maxbytes=0