Dispatcharr/docker
SergeantPanda 6ad1207a0b fix: graceful container shutdown and cleanup improvements
- Explicitly stop uwsgi, celery, daphne, and redis-server on SIGTERM;
  these are spawned as uwsgi attach-daemons and were not tracked in
  pids[], causing exit 137 on docker stop
- Replace fixed sleep 3 with a polling loop (8 s ceiling) that exits as
  soon as all processes have stopped
- Use pg_ctl stop -m immediate as the postgres force-stop fallback
  instead of SIGKILL to avoid data corruption
- Add _cleanup_done guard to prevent double invocation of cleanup() when
  the trap fires and the explicit call at script end both execute
- Register process names at startup in pid_names[] so crash diagnostics
  show meaningful names after a process has exited
- Suppress the unexpected-exit diagnostic block on normal docker stop
- Guard all pgrep-based pids+=() against empty values (nginx, vite,
  postgres) to prevent empty PID entries corrupting the pids[] array
2026-04-13 20:21:01 -05:00
..
init fix: ensure PGSSL* environment variables are explicitly set by stripping inherited values 2026-03-31 09:51:09 -05:00
tests fix: ensure PGSSL* environment variables are explicitly set by stripping inherited values 2026-03-31 09:51:09 -05:00
build-dev.sh
comskip.ini
DispatcharrBase chore: remove unnecessary python-is-python3, python3-pip and streamlink from Dockerfile dependencies 2026-03-27 11:49:28 -05:00
docker-compose.aio.yml
docker-compose.debug.yml
docker-compose.dev.yml
docker-compose.yml feat: add TLS connection support for Redis and PostgreSQL (#950) 2026-03-21 17:24:09 -05:00
Dockerfile Bug Fix: Fixed stale references to old guideutils location. Also change dockerfile to get clear error messages during failure. 2026-03-24 13:19:48 -05:00
entrypoint.aio.sh
entrypoint.celery.sh fix: pass TLS parameters to all external connection points in modular mode 2026-03-30 20:19:27 -05:00
entrypoint.sh fix: graceful container shutdown and cleanup improvements 2026-04-13 20:21:01 -05:00
nginx.conf
uwsgi.debug.ini
uwsgi.dev.ini merged in dev 2026-03-26 12:17:43 -04:00
uwsgi.ini
uwsgi.modular.ini Fix Redis flush and wait_for_redis in modular mode 2026-03-06 15:17:32 -06:00