-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy path.env.example
More file actions
49 lines (41 loc) · 2.25 KB
/
Copy path.env.example
File metadata and controls
49 lines (41 loc) · 2.25 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
# =============================================================================
# Job Scraper - Environment Variables
# =============================================================================
# Copy this file to .env and fill in your values.
# Never commit .env to version control!
# -----------------------------------------------------------------------------
# Authentication (Required)
# -----------------------------------------------------------------------------
# Password for /syncall and /sync endpoints.
# Use: Authorization: Bearer <password> header or {"password": "<password>"} JSON body
SYNC_PASSWORD=your_secure_password_here
# -----------------------------------------------------------------------------
# CORS (Important for Production)
# -----------------------------------------------------------------------------
# Restrict to your frontend domain in production. Defaults to http://localhost:3000
# CORS_ALLOWED_ORIGIN=https://your-frontend-domain.com
# -----------------------------------------------------------------------------
# Database (Optional)
# -----------------------------------------------------------------------------
# Path to SQLite database file. Defaults to ./jobs.db
# DB_PATH=./jobs.db
# -----------------------------------------------------------------------------
# Scraping (Optional)
# -----------------------------------------------------------------------------
# Enable debug logging (set to 1 to enable)
# DEBUG=1
# -----------------------------------------------------------------------------
# Company Configuration
# -----------------------------------------------------------------------------
# JSON array of companies to scrape via Ashby
# ASHBY_COMPANIES='[{"Company":"Vercel","AshbySlug":"vercel","Enabled":true}]'
# OR comma-separated format: "CompanyName:slug,CompanyName2:slug2"
# ASHBY_COMPANIES_COMMA="Vercel:vercel,Linear:linear"
# -----------------------------------------------------------------------------
# Search Provider (Optional - choose one)
# -----------------------------------------------------------------------------
# Option 1: SearXNG instance URL
# SEARXNG_URL=http://localhost:8080
# Option 2: Google Custom Search API
# GOOGLE_SEARCH_API_KEY=your_google_api_key
# GOOGLE_SEARCH_CX=your_google_search_cx