-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.env.local.example
More file actions
45 lines (37 loc) · 2.41 KB
/
.env.local.example
File metadata and controls
45 lines (37 loc) · 2.41 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
RESEND_PASSWORD=re_12345678_abcdefghijklmnopqrstuvwx
## Supabase Local (all are local testing keys rather than actual secrets here)
NEXT_PUBLIC_SUPABASE_URL=http://127.0.0.1:54321
NEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6ImFub24iLCJleHAiOjE5ODM4MTI5OTZ9.CRXP1A7WOeoJeXxjNni43kdQwgnWNReilDMblYTn_I0
SUPABASE_SERVICE_ROLE=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZS1kZW1vIiwicm9sZSI6InNlcnZpY2Vfcm9sZSIsImV4cCI6MTk4MzgxMjk5Nn0.EGIM96RAZx35lJzdJsyH-qQwv8Hdp7fsn3W0YpN81IU
DATABASE_URL=postgresql://postgres:postgres@127.0.0.1:54322/postgres
S3_ASSET_ROOT="http://127.0.0.1:54321/storage/v1/object/public/assets"
## Centrifugo (Real-time messaging service)
CENTRIFUGO_API_URL=http://localhost:8000/api
CENTRIFUGO_API_KEY=test_api_key
CENTRIFUGO_TOKEN_SECRET=test_token_secret
NEXT_PUBLIC_CENTRIFUGO_WS_URL=ws://localhost:8000/connection/websocket
# Run this in your browser to generate this value:
# crypto.subtle.generateKey({name: "AES-CBC", length: 256,},true,["encrypt", "decrypt"]).then((key) => crypto.subtle.exportKey("jwk", key)).then(JSON.stringify).then(console.log); SSR_SECRETS_KEY={"alg":"A256CBC","ext":true,"k":"your_generated_token_here","key_ops":["encrypt","decrypt"],"kty":"oct"}
SSR_SECRETS_KEY={"alg":"A256CBC","ext":true,"k":"your_generated_token_here","key_ops":["encrypt","decrypt"],"kty":"oct"}
## Redis (optional - falls back to in-memory cache if not set)
REDIS_URL=redis://localhost:6379
## OpenTelemetry
# See: https://signoz.io/docs/instrumentation/nextjs/
# For SigNoz Cloud: https://ingest.<region>.signoz.cloud:443
# For self-hosted: http://localhost:4318 (no headers needed)
OTEL_EXPORTER_OTLP_ENDPOINT=https://ingest.us.signoz.cloud:443
OTEL_EXPORTER_OTLP_HEADERS=signoz-ingestion-key=<your-signoz-ingestion-key>
OTEL_SERVICE_NAME=common
OTEL_RESOURCE_ATTRIBUTES="deployment.environment=local"
## TipTap Cloud (Real-time collaborative editing)
# Get your App ID and Secret from https://cloud.tiptap.dev/
NEXT_PUBLIC_TIPTAP_APP_ID=your-tiptap-app-id
TIPTAP_SECRET=your-tiptap-secret
# TIPTAP_PRO_TOKEN is needed for pnpm to install @tiptap-pro packages.
# Run before install: export TIPTAP_PRO_TOKEN="your-token" && pnpm install
# Or add to your shell profile for persistence.
## Iframely (Link preview embeds)
# Get your API key from https://iframely.com/
IFRAMELY_KEY=your-iframely-key
## DeepL (Machine Translation)
DEEPL_API_KEY=your-deepl-api-key