-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.example
More file actions
81 lines (66 loc) · 2.33 KB
/
.env.example
File metadata and controls
81 lines (66 loc) · 2.33 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
# AT Protocol MCP Server Environment Configuration
# Copy this file to .env and fill in your actual values
#
# 🔓 IMPORTANT: This server works out-of-the-box without any authentication!
# All authentication-related variables below are OPTIONAL and only needed
# if you want to enable authenticated features like posting, following, etc.
# Node.js Environment
NODE_ENV=production
# Logging Configuration
LOG_LEVEL=info
# AT Protocol Configuration (ALL OPTIONAL)
# The server defaults to https://bsky.social and works without authentication
# ATPROTO_SERVICE=https://bsky.social
# Authentication Configuration (OPTIONAL - enables posting, following, etc.)
# Uncomment and fill these in only if you want authenticated features:
# ATPROTO_AUTH_METHOD=app-password
# ATPROTO_IDENTIFIER=your.handle.bsky.social
# ATPROTO_PASSWORD=your-app-password-here
# OAuth Configuration (OPTIONAL - alternative to app passwords)
# OAUTH_CLIENT_ID=your-oauth-client-id
# OAUTH_CLIENT_SECRET=your-oauth-client-secret
# OAUTH_REDIRECT_URI=http://localhost:3000/oauth/callback
# Server Configuration
SERVER_PORT=3000
SERVER_HOST=0.0.0.0
# Security Configuration
# IMPORTANT: Generate a strong random key for production!
# Example: openssl rand -base64 32
SECURITY_SECRET_KEY=CHANGE_ME_GENERATE_RANDOM_KEY_HERE
TRUSTED_PROXIES=
# Performance Configuration
CACHE_MAX_SIZE=5000
CACHE_TTL_MS=600000
CONNECTION_POOL_MAX=20
# Redis Configuration (optional)
REDIS_HOST=localhost
REDIS_PORT=6379
# Set a strong password for Redis in production!
REDIS_PASSWORD=
REDIS_DB=0
# Monitoring Configuration
PROMETHEUS_ENABLED=true
PROMETHEUS_PORT=9090
HEALTH_CHECK_ENABLED=true
# Grafana Configuration (if using docker-compose)
# IMPORTANT: Set a strong password for Grafana admin in production!
# GRAFANA_ADMIN_PASSWORD=your-strong-password-here
# Alert Configuration (optional)
ALERT_WEBHOOK_URL=
ALERT_EMAIL=
# Feature Flags
STREAMING_ENABLED=true
OAUTH_ENABLED=true
OAUTH_MOCK_MODE=true
MODERATION_ENABLED=true
MEDIA_ENABLED=true
ANALYTICS_ENABLED=true
# File Upload Configuration
UPLOAD_MAX_SIZE=10mb
UPLOAD_PATH=/app/data/uploads
# Development Configuration (for development environment)
# These are EXAMPLE values for development only - replace with your actual credentials
# ATPROTO_IDENTIFIER=your-handle.bsky.social
# ATPROTO_PASSWORD=your-app-password-here
# LOG_LEVEL=debug
# NODE_ENV=development