-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker.env.example
More file actions
71 lines (63 loc) · 2.99 KB
/
Copy pathdocker.env.example
File metadata and controls
71 lines (63 loc) · 2.99 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
# Copy to .env to override the default one-command Docker deployment.
# Public ports on your machine.
FRONTEND_PORT=1010
BACKEND_PORT=1011
POSTGRES_PORT=5432
REDIS_PORT=6379
# Database credentials used by the postgres and backend containers.
POSTGRES_DB=tesbo
POSTGRES_USER=postgres
POSTGRES_PASSWORD=postgres
# Browser-facing URLs.
FRONTEND_URL=http://localhost:1010
NEXT_PUBLIC_API_URL=http://localhost:1011
CORS_ALLOWED_ORIGINS=http://localhost:1010,http://127.0.0.1:1010,http://localhost:3000,http://127.0.0.1:3000
# Optional integrations.
POSTMARK_API_TOKEN=
POSTMARK_FROM_EMAIL=noreply@example.com
# Platform OAuth apps: set these and workspace owners connect Jira/Linear with one click.
# Register FRONTEND_URL + /integrations/callback as the callback URL in the provider console.
# The *_REDIRECT_URI vars are optional overrides — derived from FRONTEND_URL when unset.
JIRA_CLIENT_ID=
JIRA_CLIENT_SECRET=
JIRA_REDIRECT_URI=
LINEAR_CLIENT_ID=
LINEAR_CLIENT_SECRET=
LINEAR_REDIRECT_URI=
# Optional: BetterBugs floating bug-report widget (frontend build-time). Leave blank to disable.
NEXT_PUBLIC_BETTERBUGS_API_KEY=
NEXT_PUBLIC_BETTERBUGS_PROJECT_ID=
# Stripe billing (Tesbo Cloud plans). Create one "Tesbo Pro" product with a monthly and an
# annual recurring price in the Stripe Dashboard, then paste the secret key and both price IDs
# below. STRIPE_WEBHOOK_SECRET comes from `stripe listen --forward-to <BACKEND_URL>/api/billing/webhook`
# for local dev, or from the webhook endpoint you configure in the Dashboard for production.
STRIPE_SECRET_KEY=
STRIPE_WEBHOOK_SECRET=
STRIPE_PRICE_ID_PRO_MONTHLY=
STRIPE_PRICE_ID_PRO_ANNUAL=
# Optional: only needed if your Stripe account is India-registered. RBI rules block
# Indian-issued cards from paying a non-INR amount to an Indian merchant, so buyers
# detected as being in India are charged these INR prices instead of the USD ones above.
STRIPE_PRICE_ID_PRO_MONTHLY_INR=
STRIPE_PRICE_ID_PRO_ANNUAL_INR=
# Nest backend specific. Max size (bytes) for a single uploaded file (knowledge base files,
# execution/bug attachments). 104857600 = 100MB.
MAX_UPLOAD_SIZE=104857600
# Knowledge Base file storage. Leave STORAGE_DRIVER=local (default) to keep storing files on
# disk (the backend_uploads Docker volume) — no further config needed. To use AWS S3 (or any
# S3-compatible service: MinIO, Cloudflare R2, DigitalOcean Spaces, Backblaze B2, ...), set
# STORAGE_DRIVER=s3 and fill in the values below.
STORAGE_DRIVER=local
S3_BUCKET=
# Optional key prefix so multiple environments can share one bucket without colliding.
S3_BUCKET_FOLDER=
S3_REGION=us-east-1
# Only needed for non-AWS S3-compatible endpoints (MinIO, R2, Spaces, etc.) — leave blank for real AWS.
S3_ENDPOINT=
# Leave blank to use the default AWS credential chain (IAM role, shared config, etc.) instead.
S3_ACCESS_KEY_ID=
S3_SECRET_ACCESS_KEY=
# Set to true for MinIO and some other S3-compatible services.
S3_FORCE_PATH_STYLE=false
# How long a signed download/preview link stays valid.
S3_PRESIGNED_URL_TTL_SECONDS=300