fix: Add support for external PostgreSQL and Redis instances

Implements smart detection that allows users to provide external DATABASE_URL
or REDIS_URL. When external services are detected, internal instances are
automatically disabled to save resources. Maintains full backward compatibility
with existing setup
This commit is contained in:
Joe Harrison
2026-02-12 15:04:09 +00:00
parent eca24e46a8
commit 7addb1dc70
6 changed files with 220 additions and 75 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ loglevel=info
pidfile=/var/run/supervisord.pid
[program:postgresql]
command=/usr/lib/postgresql/16/bin/postgres -D /var/lib/postgresql/data
command=/app/postgres-start.sh
user=postgres
autostart=true
autorestart=true