-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
59 lines (53 loc) · 1.99 KB
/
Copy path.env.example
File metadata and controls
59 lines (53 loc) · 1.99 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
# --- Database Configuration ---
POSTGRES_USER=quantwarden
POSTGRES_PASSWORD=quantwarden_password
POSTGRES_DB=quantwarden
DATABASE_URL=postgres://quantwarden:quantwarden_password@db:5432/quantwarden?sslmode=disable
# --- UI Configuration ---
NEXT_PUBLIC_APP_URL=http://localhost:3000
BETTER_AUTH_URL=http://localhost:3000
# Bind the direct UI port to localhost on a production VM; Caddy remains public.
UI_BIND_ADDRESS=0.0.0.0
UI_PORT=3000
# Used by the optional production Caddy profile.
APP_DOMAIN=localhost
ACME_EMAIL=admin@example.com
# Required. Secret used to sign sessions. Generate with: openssl rand -hex 32
BETTER_AUTH_SECRET=change_me_run_openssl_rand_hex_32
# --- Authentication ---
# Username + password is the default and requires no email infrastructure.
USERNAME_AUTH_ENABLED=true
USERNAME_EMAIL_DOMAIN=guest.local
# Email OTP/magic-link sign-in is opt-in. Set this to true and configure SMTP,
# then rebuild the UI. Start Mailpit with the email-demo Compose profile for local testing.
EMAIL_AUTH_ENABLED=false
# Optional comma-separated verified emails allowed to use /app/admin.
SUPER_ADMIN_EMAILS=
SMTP_HOST=mailpit
SMTP_PORT=1025
SMTP_SECURE=false
SMTP_USER=
SMTP_PASS=
SMTP_FROM=QuantWarden <no-reply@quantwarden.local>
# --- Subfinder API Tokens (Optional) ---
FB_APP_ID=
FB_APP_SECRET=
VT_API_KEY=
SPYSE_API_TOKEN=
# --- Internal Service URLs (Already configured for Docker Compose) ---
OPENSSL_API_URL=http://openssl-api:8020
NMAP_API_URL=http://nmap-api:8010
SUBFINDER_API_URL=http://subfinder-api:8085
SCAN_WORKER_WAKE_URL=http://quantwarden-worker:8088/internal/wake
SCAN_WORKER_WAKE_SECRET=change_me_to_a_long_random_string
# --- Worker Configuration ---
SCAN_WORKER_PORT=8088
SCAN_WORKER_HEALTH_PORT=8089
SCAN_WORKER_ACTIVE_EXECUTOR_TICK_MS=1500
SCAN_WORKER_ACTIVE_SCHEDULER_TICK_MS=10000
SCAN_WORKER_IDLE_SCHEDULER_TICK_MS=60000
SCAN_WORKER_MAX_CONCURRENT_JOBS=6
SCAN_WORKER_MAX_CONCURRENT_JOBS_PER_ORG=2
OPENSSL_API_TIMEOUT_SECONDS=3
OPENSSL_API_REQUEST_TIMEOUT_MS=15000
OPENSSL_API_PROBE_BATCH_SIZE=10