mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-01-23 10:45:27 +00:00
Add ability to use external PostgreSQL and Redis instead of internal services. **New Environment Variables:** - `EXTERNAL_POSTGRES` - Set to "true" to skip internal PostgreSQL startup - `EXTERNAL_REDIS` - Set to "true" to skip internal Redis startup **Auto-detection:** - If `POSTGRES_HOST` is not localhost/127.0.0.1, automatically uses external PostgreSQL - If `REDIS_HOST` is not localhost/127.0.0.1, automatically uses external Redis - Explicit `EXTERNAL_POSTGRES`/`EXTERNAL_REDIS` variables override auto-detection **Changes:** - Skip internal PostgreSQL initialization and startup when using external - Wait for external PostgreSQL to be ready before proceeding - Remove redis-server daemon from uwsgi config when using external Redis - Add service configuration logging at startup - Export REDIS_PORT variable (default: 6379) This enables proper Kubernetes deployments with separate PostgreSQL/Redis services. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| init | ||
| build-dev.sh | ||
| comskip.ini | ||
| DispatcharrBase | ||
| docker-compose.aio.yml | ||
| docker-compose.debug.yml | ||
| docker-compose.dev.yml | ||
| docker-compose.yml | ||
| Dockerfile | ||
| entrypoint.aio.sh | ||
| entrypoint.sh | ||
| nginx.conf | ||
| uwsgi.debug.ini | ||
| uwsgi.dev.ini | ||
| uwsgi.ini | ||