-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
44 lines (41 loc) · 1.47 KB
/
Copy path.env.example
File metadata and controls
44 lines (41 loc) · 1.47 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
DATABASE_URL=postgresql://postgres:postgres@localhost:5432/telegram_bot_builder
REDIS_URL=redis://localhost:6379
CLERK_SECRET_KEY=
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
ENCRYPTION_KEY=please_change_me_to_32_chars_minimum
TELEGRAM_WEBHOOK_BASE_URL=https://your-domain.com/api/telegram/webhook
# Required in production. Telegraph configures Telegram webhooks with this secret token
# and verifies incoming requests via the `X-Telegram-Bot-Api-Secret-Token` header.
TELEGRAM_WEBHOOK_SECRET_TOKEN=
NEXT_PUBLIC_SITE_URL=https://telegraph.us.com
WORKER_CONCURRENCY=5
INCOMING_EVENT_RETENTION_DAYS=30
DEAD_LETTER_RETENTION_DAYS=30
WORKFLOW_RUN_RETENTION_DAYS=180
ACTION_RUN_RETENTION_DAYS=180
RETENTION_SWEEP_INTERVAL_MINUTES=360
OPERATOR_EMAILS=
SENTRY_DSN=
# Optional. Set to a decimal like 0.1 to enable performance tracing.
SENTRY_TRACES_SAMPLE_RATE=0
# Optional. Defaults to NODE_ENV when unset.
SENTRY_ENVIRONMENT=
# Creem billing
CREEM_API_KEY=
CREEM_WEBHOOK_SECRET=
CREEM_PRO_MONTHLY_PRODUCT_ID=
CREEM_PRO_YEARLY_PRODUCT_ID=
# Set to true to use Creem test mode.
CREEM_TEST_MODE=false
# S3-compatible object storage (Railway/Tigris)
ENABLE_MEDIA_UPLOADS=false
S3_ENDPOINT=https://t3.storageapi.dev
S3_REGION=auto
S3_BUCKET=your-bucket-name
S3_ACCESS_KEY_ID=
S3_SECRET_ACCESS_KEY=
# Public base URL for uploaded files (defaults to S3_ENDPOINT/S3_BUCKET if unset)
S3_PUBLIC_URL=
# Optional analytics. Disabled by default and only loaded after explicit consent.
ENABLE_CONTENTSQUARE=false
CONTENTSQUARE_SITE_ID=