enhancement: Docker image consolidation

This commit is contained in:
pluja
2023-11-21 17:29:16 +01:00
parent 7dc703c335
commit 8dca6cc897
12 changed files with 353 additions and 308 deletions

29
supervisord.conf Normal file
View File

@@ -0,0 +1,29 @@
[supervisord]
nodaemon=true
[program:transcription]
command=python3 /app/transcription/main.py
directory=/app/transcription
autorestart=true
stderr_logfile=/var/log/whishper/transcription.err.log
stdout_logfile=/var/log/whishper/transcription.out.log
[program:frontend]
command=node /app/frontend/index.js
directory=/app/frontend
autorestart=true
stderr_logfile=/var/log/whishper/frontend.err.log
stdout_logfile=/var/log/whishper/frontend.out.log
[program:backend]
command=/bin/whishper -addr :8080
directory=/app/
autorestart=true
stderr_logfile=/var/log/whishper/backend.err.log
stdout_logfile=/var/log/whishper/backend.out.log
[program:nginx]
command=nginx -g 'daemon off;'
autorestart=true
stderr_logfile=/var/log/whishper/nginx.err.log
stdout_logfile=/var/log/whishper/nginx.out.log