Update supervisord.conf
Browse files- supervisord.conf +10 -1
supervisord.conf
CHANGED
|
@@ -31,11 +31,20 @@ priority=250
|
|
| 31 |
depends_on=x11vnc
|
| 32 |
|
| 33 |
[program:novnc]
|
| 34 |
-
command=bash -c "sleep 5 && cd /opt/novnc && ./utils/novnc_proxy --vnc localhost:7860 --listen 0.0.0.0:5901 --web /opt/novnc"
|
|
|
|
| 35 |
autorestart=true
|
| 36 |
priority=300
|
| 37 |
startretries=5
|
| 38 |
startsecs=3
|
| 39 |
depends_on=x11vnc
|
| 40 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 41 |
|
|
|
|
| 31 |
depends_on=x11vnc
|
| 32 |
|
| 33 |
[program:novnc]
|
| 34 |
+
; Old ✅ command=bash -c "sleep 5 && cd /opt/novnc && ./utils/novnc_proxy --vnc localhost:7860 --listen 0.0.0.0:5901 --web /opt/novnc"
|
| 35 |
+
command=bash -c "sleep 5 && /usr/share/novnc/utils/novnc_proxy --vnc localhost:5901 --listen 6080 --web /usr/share/novnc"
|
| 36 |
autorestart=true
|
| 37 |
priority=300
|
| 38 |
startretries=5
|
| 39 |
startsecs=3
|
| 40 |
depends_on=x11vnc
|
| 41 |
|
| 42 |
+
[program:webui]
|
| 43 |
+
command=/home/user/miniconda/envs/webui/bin/python -u webui_with_vnc.py --ip 0.0.0.0 --port 7860
|
| 44 |
+
; ✅ Fix wrong directory (/app -> /web-ui)
|
| 45 |
+
directory=/web-ui
|
| 46 |
+
autorestart=true
|
| 47 |
+
priority=400
|
| 48 |
+
startretries=3
|
| 49 |
+
startsecs=3
|
| 50 |
|