-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
41 lines (32 loc) · 984 Bytes
/
.env.example
File metadata and controls
41 lines (32 loc) · 984 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
# ADMP Server Configuration
# Server
PORT=8080
NODE_ENV=development
# CORS
CORS_ORIGIN=*
# Security
API_KEY_REQUIRED=false
MASTER_API_KEY=
# Heartbeat & Expiry
HEARTBEAT_INTERVAL_MS=60000
HEARTBEAT_TIMEOUT_MS=300000
MESSAGE_TTL_SEC=86400
CLEANUP_INTERVAL_MS=60000
# Limits
MAX_MESSAGE_SIZE_KB=256
MAX_MESSAGES_PER_AGENT=1000
# Storage Backend
# "memory" — in-process Map, no persistence (default for development)
# Custom backends: implement the interface in src/storage/memory.js
STORAGE_BACKEND=memory
# Registration Policy
# "open" — agents auto-approved on registration
# "approval_required" — agents start pending, require admin approval
REGISTRATION_POLICY=open
# DID:web Federation (optional)
# Comma-separated domains whose DID:web agents are auto-approved
# DID_WEB_ALLOWED_DOMAINS=example.com,partner.io
# Mailgun Outbox (optional — enables outbound email for agents)
MAILGUN_API_KEY=
MAILGUN_API_URL=https://api.mailgun.net/v3
MAILGUN_WEBHOOK_SIGNING_KEY=