-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy path.env.example
More file actions
71 lines (58 loc) · 1.65 KB
/
Copy path.env.example
File metadata and controls
71 lines (58 loc) · 1.65 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
# Runtime
NODE_ENV=development
PORT=3001
# Base URLs
APP_URL=http://localhost:3001
FRONTEND_URL=http://localhost:5173
GO_SCRAPER_URL=http://localhost:8081
# Session
# Use uma string longa e secreta em ambientes reais.
SESSION_SECRET=change-me-with-a-long-random-secret
# Segurança / PII
# ENCRYPTION_MASTER_KEY deve ter 32 bytes em hex, ou seja, 64 caracteres hex.
ENCRYPTION_MASTER_KEY=
ENCRYPTION_KEY_ID=default
SEARCH_KEY=
# CORS / frontend access
CORS_ALLOWED_ORIGINS=http://localhost:5173,http://localhost:5174
# Search filters
SEARCH_LOCATION=Brasil
SEARCH_GEO_ID=106057199
SEARCH_LANGUAGE=pt
REMOTE_ONLY=true
JOB_TYPES=C,F
TIME_FILTER=r604800
SEARCH_KEYWORDS=UX Designer,UI Designer,Product Manager,Product Owner
# Scraping behavior
WAIT_BETWEEN_SEARCHES_MS=5000
PAGE_TIMEOUT_MS=10000
MAX_PAGES_PER_KEYWORD=5
# Database / cache
POSTGRES_USER=vagas
POSTGRES_PASSWORD=vagas
POSTGRES_DB=vagas
# Use esta URL quando backend/scraper estiverem rodando fora do Docker e o banco estiver exposto no host.
DATABASE_URL=postgresql://vagas:vagas@localhost:5432/vagas
VALKEY_URL=redis://localhost:6379/0
# Use estas URLs dentro de containers Docker Compose.
# DATABASE_URL=postgresql://vagas:vagas@postgres:5432/vagas
# VALKEY_URL=redis://valkey:6379/0
CACHE_TTL_MS=600000
REDIS_KEY_PREFIX=vagas-full
KEYWORDS_REDIS_KEY=vagas-full:keywords
KEYWORDS_STORAGE_MODE=env
# Legacy flags kept for compatibility
HEADLESS=false
VIEWPORT_WIDTH=1280
VIEWPORT_HEIGHT=800
# Third-party API credentials
ADZUNA_APP_ID=
ADZUNA_APP_KEY=
JOOBLE_API_KEY=
# OAuth credentials
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
LINKEDIN_CLIENT_ID=
LINKEDIN_CLIENT_SECRET=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=