Dispatcharr/docker/init
Matt Grutza 557e192d4c Add UTF8 encoding check for external databases
Extend ensure_utf8_encoding() to support both internal and external PostgreSQL.

- Modular mode: Uses TCP connection with PGPASSWORD authentication
- AIO mode: Uses Unix socket as postgres user
- Explicitly set database owner during recreation (fixes missing --owner flag)
- Conversion logic (dump/drop/recreate/restore) works for both AIO and modular modes
- Skip internal PostgreSQL setup entirely when DISPATCHARR_ENV=modular
2026-01-23 19:15:27 -06:00
..
01-user-setup.sh Don't hardcode dispatch as user for nginx. Use postgres_user. 2025-05-14 10:19:55 -05:00
02-postgres.sh Add UTF8 encoding check for external databases 2026-01-23 19:15:27 -06:00
03-init-dispatcharr.sh Fix root-owned __pycache__ by running Django commands as non-root user 2025-12-31 12:16:19 -05:00
04-check-hwaccel.sh Vastly improved logic for detecting recommended acceleration methods. 2025-05-13 12:32:49 -05:00
99-init-dev.sh Remote debugging initial commit. 2025-03-27 09:49:51 -05:00