-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
66 lines (53 loc) · 2.41 KB
/
Copy path.env.example
File metadata and controls
66 lines (53 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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Environment variables declared in this file are NOT automatically loaded by Prisma.
# Please add `import "dotenv/config";` to your `prisma.config.ts` file, or use the Prisma CLI with Bun
# to load environment variables from .env files: https://pris.ly/prisma-config-env-vars.
# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
# See the documentation for all the connection string options: https://pris.ly/d/connection-strings
# The following `prisma+postgres` URL is similar to the URL produced by running a local Prisma Postgres
# server with the `prisma dev` CLI command, when not choosing any non-default ports or settings. The API key, unlike the
# one found in a remote Prisma Postgres URL, does not contain any sensitive information.
# Database URL (auto-constructed from DB_PASSWORD by setup.sh)
DATABASE_URL="postgresql://postgres.ggrucwtukdpbvujxffbc:{DB_PASSWORD}@aws-1-us-east-2.pooler.supabase.com:5432/postgres"
DB_PASSWORD={DB_PASSWORD}
# Supabase Project Reference (optional, for documentation)
SUPABASE_PROJECT_REF=ggrucwtukdpbvujxffbc
SUPABASE_URL=https://ggrucwtukdpbvujxffbc.supabase.co
# Redis Configuration (for BullMQ job queue)
REDIS_URL="redis://localhost:6379"
REDIS_PORT=6379
# Application Configuration
NODE_ENV=development
APP_URL=http://localhost:3000
APP_PORT=3000
NEXT_PUBLIC_APP_URL=http://localhost:3000
# Scraper Configuration
SCRAPER_HEADLESS=true
SCRAPER_TIMEOUT=60000
SCRAPER_MAX_RETRIES=2
SCRAPER_CONCURRENCY=1
SCRAPER_WAIT_TIME=3000
# Image Processing Configuration
IMAGES_ENABLED=true
IMAGES_MAX_CONCURRENT=5
IMAGES_TIMEOUT=30000
IMAGES_RETRY_ATTEMPTS=2
# Content Processor Configuration
PROCESSOR_INPUT_DIR=output/scraped-content
PROCESSOR_OUTPUT_DIR=output/clean-content
PROCESSOR_IMAGE_DIR=output/images
PROCESSOR_IMAGE_MAPPING=output/images/image-mapping.json
# WordPress Configuration (for image paths)
DEALER_SLUG=
IMAGE_YEAR=
IMAGE_MONTH=
# CSV Generator Configuration
CSV_INPUT_DIR=output/scraped-content
CSV_OUTPUT_DIR=output/wp-ready
CSV_OUTPUT_FILE=wordpress-import.csv
# Data Files Configuration
URLS_FILE=data/urls.txt
CONTENT_TYPE_MAPPINGS=data/content-type-mappings.json
URL_MAPPINGS=data/url-mappings.json
# Supabase Auth Configuration (REQUIRED - fetched via GitHub Actions or enter manually)
NEXT_PUBLIC_SUPABASE_URL=https://ggrucwtukdpbvujxffbc.supabase.co
NEXT_PUBLIC_SUPABASE_ANON_KEY={NEXT_PUBLIC_SUPABASE_ANON_KEY}