sourcebot/supervisord.conf
Michael Sukkarieh fc33f26808
add grafana alloy config and setup (#210)
* add grafana alloy config and setup

* add basic repo prom metrics

* nits in dockerfile
2025-02-24 21:11:28 -08:00

49 lines
No EOL
1 KiB
Text

[supervisord]
nodaemon=true
logfile=/dev/null
logfile_maxbytes=0
[program:zoekt]
command=./prefix-output.sh zoekt-webserver -index %(ENV_DATA_CACHE_DIR)s/index -rpc
autostart=true
autorestart=true
startretries=3
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
redirect_stderr=true
[program:web]
command=./prefix-output.sh node packages/web/server.js
autostart=true
autorestart=true
startretries=3
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
redirect_stderr=true
[program:backend]
command=./prefix-output.sh node packages/backend/dist/index.js --cacheDir %(ENV_DATA_CACHE_DIR)s
autostart=true
autorestart=true
startretries=3
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
redirect_stderr=true
[program:redis]
command=redis-server
autostart=true
autorestart=true
startretries=3
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
redirect_stderr=true
[program:alloy]
command=alloy run grafana.alloy
autostart=true
autorestart=true
startretries=3
stdout_logfile=/dev/fd/1
stdout_logfile_maxbytes=0
redirect_stderr=true