# hydra-gateway configuration
# Copy this file to .env and adjust values as needed.
# Server bind address
LISTEN_ADDR=0.0.0.0:3000
# PostgreSQL connection
DATABASE_URL=postgres://hydra:hydra@localhost:5432/hydra_gateway
DATABASE_MAX_CONNECTIONS=10
DATABASE_MIN_CONNECTIONS=2
DATABASE_CONNECT_TIMEOUT_SECS=5
# Persistence
PERSISTENCE_ENABLED=true
PERSISTENCE_SNAPSHOT_INTERVAL_SECS=60
PERSISTENCE_EVENT_LOG_ENABLED=true
PERSISTENCE_CLEANUP_AFTER_DAYS=30
# EventBus
EVENT_BUS_CAPACITY=10000
# Logging (RUST_LOG format)
RUST_LOG=info