-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
29 lines (25 loc) · 2.05 KB
/
Copy path.env.example
File metadata and controls
29 lines (25 loc) · 2.05 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
# ─────────────────────────────────────────────────────────────────────────────
# req-hunter environment configuration
# Copy this file to .env and fill in the values.
# .env is in .gitignore and must NEVER be committed.
# ─────────────────────────────────────────────────────────────────────────────
# ── Database ──────────────────────────────────────────────────────────────────
# For local devcontainer use, these match the docker-compose.yml defaults.
DATABASE_URL=postgresql+asyncpg://req_hunter:req_hunter_password@db:5432/req_hunter
# Sync URL is needed by Alembic (does not support asyncpg for migrations)
DATABASE_SYNC_URL=postgresql+psycopg2://req_hunter:req_hunter_password@db:5432/req_hunter
# ── Application ───────────────────────────────────────────────────────────────
APP_ENV=development
APP_DEBUG=true
APP_HOST=0.0.0.0
APP_PORT=8000
SECRET_KEY=change-me-to-a-random-secret-key-at-least-32-chars
# ── Scraper ───────────────────────────────────────────────────────────────────
PLAYWRIGHT_HEADLESS=true
SCRAPER_TIMEOUT_SECONDS=30
SCRAPER_DELAY_SECONDS=2
# ── Logging ───────────────────────────────────────────────────────────────────
LOG_FILE_PATH=logs/req-hunter.log
LOG_LEVEL=INFO
LOG_MAX_BYTES=1048576
LOG_BACKUP_COUNT=3