-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.yml.example
More file actions
49 lines (43 loc) · 1.19 KB
/
config.yml.example
File metadata and controls
49 lines (43 loc) · 1.19 KB
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
42
43
44
45
46
47
48
49
# SimpleX Bot Configuration Template
# Copy this file to config.yml and customize for your setup
# Server Configuration - Use your own servers, never official ones
servers:
smp:
- "${SMP_SERVER_1}"
- "${SMP_SERVER_2:-}" # Optional backup server
xftp:
- "${XFTP_SERVER_1}"
- "${XFTP_SERVER_2:-}" # Optional backup server
# Bot Settings
bot:
name: "${BOT_NAME:-SimpleX Bot}"
websocket_url: "${WEBSOCKET_URL:-ws://localhost:3030}"
auto_accept_contacts: ${AUTO_ACCEPT_CONTACTS:-true}
# Logging Configuration
logging:
daily_rotation: true
message_log_separate: true
retention_days: ${LOG_RETENTION_DAYS:-30}
log_level: "${LOG_LEVEL:-INFO}"
# Media Settings
media:
download_enabled: ${MEDIA_DOWNLOAD_ENABLED:-true}
max_file_size: "${MAX_FILE_SIZE:-100MB}"
allowed_types:
- "image"
- "video"
- "document"
- "audio"
storage_path: "${MEDIA_STORAGE_PATH:-./media}"
# Command Settings
commands:
enabled:
- "help"
- "echo"
- "status"
prefix: "!"
# Security Settings
security:
max_message_length: ${MAX_MESSAGE_LENGTH:-4096}
rate_limit_messages: ${RATE_LIMIT_MESSAGES:-10}
rate_limit_window: ${RATE_LIMIT_WINDOW:-60} # seconds