62 lines
1.3 KiB
YAML
62 lines
1.3 KiB
YAML
# Messaging Center Configuration
|
|
|
|
server:
|
|
host: 0.0.0.0
|
|
port: 8040
|
|
|
|
database:
|
|
path: ./data/mc.db
|
|
|
|
storage:
|
|
path: ./data/attachments
|
|
|
|
oauth:
|
|
issuer: http://localhost:8040
|
|
signing_key: ${MC_SIGNING_KEY:-change-me-in-production}
|
|
access_token_ttl: 1h
|
|
clients:
|
|
- id: openclaw
|
|
secret: ${MC_OPENCLAW_SECRET:-dev-secret-openclaw}
|
|
scopes: [messages:read, messages:write, commands:write]
|
|
- id: admin
|
|
secret: ${MC_ADMIN_SECRET:-dev-secret-admin}
|
|
scopes: [messages:read, messages:write, commands:write, admin]
|
|
|
|
# Transcription (not used in v0.1)
|
|
transcription:
|
|
provider: fireworks
|
|
api_key: ${FIREWORKS_API_KEY:-}
|
|
model: whisper-v3-turbo
|
|
|
|
# Webhooks (not implemented in v0.1)
|
|
webhooks:
|
|
- url: http://localhost:18789/hooks/message
|
|
secret: ${MC_WEBHOOK_SECRET:-}
|
|
events: [message.received, message.sent]
|
|
|
|
# Channels (not implemented in v0.1)
|
|
channels:
|
|
email:
|
|
enabled: false
|
|
imap:
|
|
host: 127.0.0.1
|
|
port: 1143
|
|
username: ${EMAIL_USERNAME:-}
|
|
password: ${EMAIL_PASSWORD:-}
|
|
tls: starttls
|
|
smtp:
|
|
host: 127.0.0.1
|
|
port: 1025
|
|
username: ${EMAIL_USERNAME:-}
|
|
password: ${EMAIL_PASSWORD:-}
|
|
tls: starttls
|
|
|
|
whatsapp:
|
|
enabled: false
|
|
data_dir: ./data/whatsapp
|
|
|
|
signal:
|
|
enabled: false
|
|
api_url: http://localhost:8080
|
|
account: ${SIGNAL_ACCOUNT:-}
|