feat: Dockerfile, docker-compose, livekit.yaml, supervisord.conf

This commit is contained in:
Shane
2026-08-22 07:41:58 -04:00
parent bbca8505d7
commit 97633cc585
4 changed files with 143 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
[supervisord]
nodaemon=false
logfile=/var/log/supervisor/supervisord.log
pidfile=/run/supervisord.pid
[program:livekit]
command=/usr/local/bin/livekit --config /etc/livekit.yaml
user=root
autostart=true
autorestart=true
stdout_logfile=/var/log/supervisor/livekit.log
stderr_logfile=/var/log/supervisor/livekit_err.log
[program:agent]
command=/opt/voice-agent/.venv/bin/python /opt/voice-agent/agent.py start
user=voiceuser
autostart=true
autorestart=true
stdout_logfile=/var/log/supervisor/agent.log
stderr_logfile=/var/log/supervisor/agent_err.log
environment=
LIVEKIT_URL="%(ENV_LIVEKIT_URL)s",
LIVEKIT_API_KEY="%(ENV_LIVEKIT_API_KEY)s",
LIVEKIT_API_SECRET="%(ENV_LIVEKIT_API_SECRET)s",
AZURE_SPEECH_KEY="%(ENV_AZURE_SPEECH_KEY)s",
AZURE_SPEECH_REGION="%(ENV_AZURE_SPEECH_REGION)s",
AZURE_TTS_VOICE="%(ENV_AZURE_TTS_VOICE)s",
GEMMA_BASE_URL="%(ENV_GEMMA_BASE_URL)s",
GEMMA_MODEL="%(ENV_GEMMA_MODEL)s",
GEMMA_API_KEY="%(ENV_GEMMA_API_KEY)s"
[program:web]
command=/usr/sbin/nginx -g "daemon off;"
user=root
autostart=true
autorestart=true
stdout_logfile=/var/log/supervisor/web.log
stderr_logfile=/var/log/supervisor/web_err.log