This commit is contained in:
Tomas Dvorak
2026-05-07 10:17:07 +02:00
parent b7d86ad5f8
commit 7051459017
4 changed files with 94 additions and 62 deletions
+29
View File
@@ -0,0 +1,29 @@
[supervisord]
nodaemon=true
logfile=/dev/null
logfile_maxbytes=0
pidfile=/tmp/supervisord.pid
[program:backend]
command=/app/dash-backend
directory=/app
user=app
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
environment=HTTP_ADDR=":8080",MIGRATIONS_DIR="/app/db/migrations"
[program:frontend]
command=node server.js
directory=/app/frontend
user=nextjs
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0
environment=NODE_ENV="production",PORT="3000",HOSTNAME="0.0.0.0",NEXT_PUBLIC_API_BASE_URL="http://localhost:8080"