rspace-online/docker/scribus-novnc/supervisord.conf

39 lines
975 B
Plaintext

[supervisord]
nodaemon=true
logfile=/var/log/supervisor/supervisord.log
pidfile=/var/run/supervisord.pid
[program:xvfb]
command=Xvfb :1 -screen 0 %(ENV_SCREEN_WIDTH)sx%(ENV_SCREEN_HEIGHT)sx%(ENV_SCREEN_DEPTH)s
autorestart=true
priority=10
[program:x11vnc]
command=x11vnc -display :1 -nopw -listen 0.0.0.0 -xkb -ncache 10 -ncache_cr -forever -shared
autorestart=true
priority=20
startsecs=3
[program:websockify]
command=websockify --web /usr/share/novnc %(ENV_NOVNC_PORT)s localhost:%(ENV_VNC_PORT)s
autorestart=true
priority=30
startsecs=5
[program:runner]
command=python3 /opt/bridge/scribus_runner.py
autorestart=true
priority=35
environment=DISPLAY=":1"
stdout_logfile=/var/log/supervisor/runner.log
stderr_logfile=/var/log/supervisor/runner_err.log
startsecs=2
[program:bridge]
command=python3 /opt/bridge/server.py
autorestart=true
priority=40
environment=DISPLAY=":1"
stdout_logfile=/var/log/supervisor/bridge.log
stderr_logfile=/var/log/supervisor/bridge_err.log