Add missing workers for jobs, post install message for setup, and pull in emujs/ruffle from docker release

This commit is contained in:
2026-01-06 17:11:28 -05:00
parent 74db5b8b61
commit 571e449581
8 changed files with 42 additions and 3 deletions

View File

@@ -2,7 +2,6 @@
priority=5
directory=/app/code/backend
environment=HOME=/app/code
environment=ROMM_BASE_PATH=/app/data
command=uv run python main.py
user=cloudron
autostart=true

View File

@@ -1,5 +1,5 @@
[program:frontend]
priority=5
priority=50
directory=/app/code/frontend
environment=HOME=/app/code
command=npm run dev

13
supervisor/rq.conf Normal file
View File

@@ -0,0 +1,13 @@
[program:rq]
priority=10
directory=/app/code/backend
environment=HOME=/app/code
environment=PYTHONPATH="/app/code/backend:${PYTHONPATH-}"
command=uv run rq worker --path /app/code/backend --pid /tmp/rq_worker.pid --url "redis://%(ENV_REDIS_HOST)s:%(ENV_REDIS_PORT)s/0" high default low
user=cloudron
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0

View File

@@ -0,0 +1,12 @@
[program:rqscheduler]
priority=10
directory=/app/code/backend
environment=HOME=/app/code
command=uv run rqscheduler --host %(ENV_REDIS_HOST)s --port %(ENV_REDIS_PORT)s --db 0 --path /app/code.backend --pid /tmp/rq_scheduler.pid
user=cloudron
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0

12
supervisor/watcher.conf Normal file
View File

@@ -0,0 +1,12 @@
[program:watcher]
priority=20
directory=/app/code/backend
environment=HOME=/app/code
command=uv run watchfiles --target-type command 'uv run python watcher.py' /app/data/library
user=cloudron
autostart=true
autorestart=true
stdout_logfile=/dev/stdout
stdout_logfile_maxbytes=0
stderr_logfile=/dev/stderr
stderr_logfile_maxbytes=0