-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy path.env.example
More file actions
71 lines (56 loc) · 1.58 KB
/
Copy path.env.example
File metadata and controls
71 lines (56 loc) · 1.58 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 URL da aplicação
# Ex: APP_URL=http://localhost:3001/api
APP_URL=
# Sessão
# Use uma string longa e secreta em produção
SESSION_SECRET=
# CORS / frontend access (separar por vírgula)
CORS_ALLOWED_ORIGINS=
# Rate limit de autenticação
AUTH_RATE_LIMIT_IP_MAX=20
AUTH_RATE_LIMIT_ACCOUNT_MAX=5
AUTH_RATE_LIMIT_WINDOW_SECONDS=900
# URL do frontend (usada para redirect pos-OAuth)
FRONTEND_URL=http://localhost:5173
# 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
# Database / cache for backend running locally outside Docker
DATABASE_URL=postgresql://vagas:vagas@localhost:5432/vagas
VALKEY_URL=redis://localhost:6379/0
CACHE_TTL_MS=600000
# Scraping behavior
WAIT_BETWEEN_SEARCHES_MS=5000
PAGE_TIMEOUT_MS=10000
MAX_PAGES_PER_KEYWORD=5
# Legacy flags
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=
# Local scraper services
GO_SCRAPER_URL=http://localhost:8081
SCRAPER_URL=http://localhost:8081
PROMETHEUS_URL=http://localhost:9090
SCRAPER_URL=http://scraper-go:8081
PROMETHEUS_URL=http://prometheus:9090