@@ -3,24 +3,47 @@ DATABASE_URL='postgres://postgres:postgres@localhost:5432/postgres'
33OPENAI_API_KEY = ' sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
44OPENAI_BASE_URL = ' https://api.deepseek.com/v1'
55LLM_MODEL = ' deepseek-chat'
6- RUN_MODE = ' webhook ' # webhook or polling
7- WEBHOOK_DOMAIN = ' '
8- WEBHOOK_SECRET = ' '
6+ RUN_MODE = ' polling ' # webhook or polling
7+ WEBHOOK_DOMAIN = ' https://your-domain.ngrok-free.app '
8+ WEBHOOK_SECRET = ' your-webhook-secret-here '
99WEBHOOK_HOST = ' localhost'
1010WEBHOOK_PORT = ' 8080'
11- LOG_LEVEL = ' info '
11+ LOG_LEVEL = ' debug '
1212# Dev purpose, comma separated. Keep it empty to allow all
1313ALLOWED_USERS = ' '
1414# Seed purpose - set the Telegram ID of the user to seed transactions for
1515SEED_USER_TG_ID = ' '
16+
17+ # --- OpenTelemetry Configuration ---
18+ # OTEL_SERVICE_NAME: Name of the service for OpenTelemetry.
19+ # Default: cashout-telegram-bot
20+ OTEL_SERVICE_NAME = " cashout"
21+
22+ # OTEL_EXPORTER_OTLP_LOGS_ENDPOINT: Endpoint for OTLP log exporter.
23+ # Default: http://localhost:4318/v1/logs
24+ # The application currently uses an insecure (HTTP) connection for this endpoint.
25+ OTEL_EXPORTER_OTLP_LOGS_ENDPOINT = " http://localhost:4318/v1/logs"
26+
27+ # OTEL_EXPORTER_OTLP_METRICS_ENDPOINT: Endpoint for OTLP metrics exporter.
28+ # Default: http://localhost:4318/v1/metrics
29+ # The application currently uses an insecure (HTTP) connection for this endpoint.
30+ OTEL_EXPORTER_OTLP_METRICS_ENDPOINT = " http://localhost:4318/v1/metrics"
31+
1632# Web Server Configuration
1733WEB_DASHBOARD_URL = ' http://localhost:8081/web/dashboard'
18- WEB_HOST = localhost
34+ WEB_HOST = 127.0.0.1
1935WEB_PORT = 8081
36+
2037# Session Configuration (optional)
21- SESSION_SECRET = your-random-session-secret-here
38+ SESSION_SECRET = ' your-random-session-secret-here'
2239SESSION_DURATION_MIN = 43200 # 30 days
40+
2341# Bot Health Check Token
24- HEALTH_CHECK_TOKEN = your-secret-token
42+ HEALTH_CHECK_TOKEN = ' your-secret-token'
2543# Bot Health Check Port
2644HEALTH_CHECK_PORT = 8082
45+
46+ # Email configuration
47+ BREVO_API_KEY = ' xkeysib-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxx'
48+ EMAIL_FROM_NAME = ' Cashout App'
49+ EMAIL_FROM_ADDRESS = ' noreply@your-domain.com'
0 commit comments