aroniscunt/Browser_Web_UI_Automation
0
1[supervisord]
2user=root
3nodaemon=true
4logfile=/dev/stdout
5logfile_maxbytes=0
6loglevel=error
7
8[program:xvfb]
9command=Xvfb :99 -screen 0 %(ENV_RESOLUTION)s -ac +extension GLX +render -noreset
10autorestart=true
11stdout_logfile=/dev/stdout
12stdout_logfile_maxbytes=0
13stderr_logfile=/dev/stderr
14stderr_logfile_maxbytes=0
15priority=100
16startsecs=3
17stopsignal=TERM
18stopwaitsecs=10
19
20[program:vnc_setup]
21command=bash -c "mkdir -p ~/.vnc && echo '%(ENV_VNC_PASSWORD)s' | vncpasswd -f > ~/.vnc/passwd && chmod 600 ~/.vnc/passwd && ls -la ~/.vnc/passwd"
22autorestart=false
23startsecs=0
24priority=150
25stdout_logfile=/dev/stdout
26stdout_logfile_maxbytes=0
27stderr_logfile=/dev/stderr
28stderr_logfile_maxbytes=0
29
30[program:x11vnc]
31command=bash -c "mkdir -p /var/log && touch /var/log/x11vnc.log && chmod 666 /var/log/x11vnc.log && sleep 5 && DISPLAY=:99 x11vnc -display :99 -forever -shared -rfbauth /root/.vnc/passwd -rfbport 5901 -o /var/log/x11vnc.log"
32autorestart=true
33stdout_logfile=/dev/stdout
34stdout_logfile_maxbytes=0
35stderr_logfile=/dev/stderr
36stderr_logfile_maxbytes=0
37priority=200
38startretries=10
39startsecs=10
40stopsignal=TERM
41stopwaitsecs=10
42depends_on=vnc_setup,xvfb
43
44[program:x11vnc_log]
45command=bash -c "mkdir -p /var/log && touch /var/log/x11vnc.log && tail -f /var/log/x11vnc.log"
46autorestart=true
47stdout_logfile=/dev/stdout
48stdout_logfile_maxbytes=0
49stderr_logfile=/dev/stderr
50stderr_logfile_maxbytes=0
51priority=250
52stopsignal=TERM
53stopwaitsecs=5
54depends_on=x11vnc
55
56[program:novnc]
57command=bash -c "sleep 5 && cd /opt/novnc && ./utils/novnc_proxy --vnc localhost:5901 --listen 0.0.0.0:6080 --web /opt/novnc"
58autorestart=true
59stdout_logfile=/dev/stdout
60stdout_logfile_maxbytes=0
61stderr_logfile=/dev/stderr
62stderr_logfile_maxbytes=0
63priority=300
64startretries=5
65startsecs=3
66depends_on=x11vnc
67
68[program:webui]
69command=python webui.py --ip 0.0.0.0 --port 7788
70directory=/app
71autorestart=true
72stdout_logfile=/dev/stdout
73stdout_logfile_maxbytes=0
74stderr_logfile=/dev/stderr
75stderr_logfile_maxbytes=0
76priority=400
77startretries=3
78startsecs=3
79stopsignal=TERM
80stopwaitsecs=10