45 lines
1 KiB
Text
45 lines
1 KiB
Text
[supervisord]
|
|
nodaemon=true
|
|
logfile=/dev/stdout
|
|
logfile_maxbytes=0
|
|
loglevel=info
|
|
|
|
[program:xvnc]
|
|
command=/usr/bin/Xvnc :99 -geometry 1920x1080 -depth 24 -rfbport 5900 -SecurityTypes None -AlwaysShared
|
|
autorestart=true
|
|
priority=100
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
|
|
[program:openbox]
|
|
command=openbox
|
|
environment=DISPLAY=":99"
|
|
autorestart=true
|
|
priority=150
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
|
|
|
|
[program:novnc]
|
|
command=/opt/novnc/utils/novnc_proxy --vnc localhost:5900 --listen 6080
|
|
autorestart=true
|
|
priority=300
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|
|
|
|
[program:app]
|
|
command=python -m uvicorn main:app --host 0.0.0.0 --port 8002
|
|
directory=/app/backend
|
|
environment=DISPLAY=":99",PYTHONUNBUFFERED="1"
|
|
autorestart=true
|
|
priority=400
|
|
stdout_logfile=/dev/stdout
|
|
stdout_logfile_maxbytes=0
|
|
stderr_logfile=/dev/stderr
|
|
stderr_logfile_maxbytes=0
|