towerops/config
Graham McIntire a11ff789e3
fix: add REDIS_PASSWORD support to runtime configuration
Redis authentication was failing with "NOAUTH Authentication required"
because the password wasn't being read from the environment variable.

Changes:
- Read REDIS_PASSWORD from environment in runtime.exs
- Add password to :redis config keyword list if present
- Phoenix.PubSub.Redis and Exq now read password from Application config

The application.ex and exq_supervisor.ex already had password support
from System.get_env("REDIS_PASSWORD"), but runtime.exs wasn't passing
the password through to the :redis config, so it was never available
to the application code.

This enables connection to the new Proxmox-hosted Valkey instance at
10.0.15.21 with authentication.
2026-01-24 14:25:01 -06:00
..
config.exs ignore startup errors 2026-01-23 10:06:25 -06:00
dev.exs Auto-expand MIB directories to include subdirectories 2026-01-19 14:06:51 -06:00
prod.exs Remove force_ssl config since Traefik handles SSL termination 2026-01-05 13:23:38 -06:00
runtime.exs fix: add REDIS_PASSWORD support to runtime configuration 2026-01-24 14:25:01 -06:00
test.exs fix: remove Redis config from test.exs - tests should mock Redis 2026-01-17 16:30:52 -06:00