File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -138,6 +138,32 @@ REGISTRY_URL=http://localhost:8080
138138# Port for the approval UI server (default 3000; use 3001 to avoid Grafana conflict)
139139PORT = 3001
140140
141+ # =============================================================================
142+ # Audit Archiver
143+ # =============================================================================
144+
145+ # Database connection (uses primary — archiver runs DDL)
146+ ARCHIVER__DATABASE__URL = postgres://agentauth:agentauth_dev@localhost:5434/agentauth
147+ ARCHIVER__DATABASE__MAX_CONNECTIONS = 4
148+ ARCHIVER__DATABASE__CONNECT_TIMEOUT_SECS = 5
149+
150+ # Cold storage backend: "s3" or "local_fs"
151+ ARCHIVER__STORAGE__BACKEND = s3
152+ ARCHIVER__STORAGE__S3_BUCKET = agentauth-audit-archive
153+ ARCHIVER__STORAGE__S3_PREFIX = audit-archive/
154+ # Override endpoint for MinIO in local dev
155+ ARCHIVER__STORAGE__S3_ENDPOINT_URL = http://localhost:9000
156+ ARCHIVER__STORAGE__S3_REGION = us-east-1
157+ # Local filesystem path (when backend=local_fs)
158+ # ARCHIVER__STORAGE__LOCAL_PATH=./tmp/audit-archive
159+
160+ # Retention policy
161+ ARCHIVER__RETENTION__HOT_RETENTION_DAYS = 90
162+ ARCHIVER__RETENTION__ADVANCE_PARTITION_DAYS = 7
163+
164+ # Observability
165+ ARCHIVER__OBSERVABILITY__LOG_LEVEL = info
166+
141167# =============================================================================
142168# Development Only
143169# =============================================================================
You can’t perform that action at this time.
0 commit comments