fix: remove Redis config from dev.exs to allow CI health checks to pass

Redis was configured to connect to localhost:6379 in dev.exs, but no Redis
server exists in CI environments. This caused /health endpoint to return 503
during e2e test startup, blocking test execution.

Solution: Remove Redis config from dev - application will fall back to stub
Agent (as designed in application.ex). If developers need Redis locally, they
can set REDIS_HOST environment variable.
This commit is contained in:
Graham McIntire 2026-03-08 10:05:12 -05:00
parent 9132703d17
commit 240e51237e
No known key found for this signature in database

View file

@ -233,10 +233,8 @@ config :towerops, :mib_dirs, [
# Disable rate limiting in development
config :towerops, :rate_limiting_enabled, false
# Configure Redis/Valkey for development
config :towerops, :redis,
host: "localhost",
port: 6379
# Redis is not configured in development - application will use stub Agent
# If you need Redis for local development, set REDIS_HOST env var
# Configure SNMP polling interval for development (60 seconds)
config :towerops, :snmp_min_poll_interval, 60