-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
33 lines (27 loc) · 1.41 KB
/
Copy path.env.example
File metadata and controls
33 lines (27 loc) · 1.41 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
# Copy to ".env" in this directory, then:
# docker compose up --build
#
# Everything else has safe self-host defaults in docker-compose.yml.
# Uncomment only what you need. Full reference: docs/self-host.md
CORS_ORIGINS=http://localhost:8080,http://127.0.0.1:8080
# Paid fetch (otherwise local only — enough for a first scrape of example.com)
# SCRAPE_API_KEY=
# SCRAPFLY_API_KEY=
# Store provider keys in the dashboard (encrypted). Generate a Fernet key:
# docker run --rm python:3.11-slim bash -c "pip install -q cryptography && python -c \"from cryptography.fernet import Fernet; print(Fernet.generate_key().decode())\""
# BYOK_ENABLED=true
# CREDENTIAL_ENCRYPTION_KEY=
# Unlock the Admin UI at /admin
# ADMIN_SECRET=
# First account is always allowed. Set true to keep sign-up open after that.
# ALLOW_REGISTRATION=true
# Optional Postgres (default is sqlite under the backend data volume).
# Start with: docker compose --profile postgres up --build
# DATABASE_URL=postgresql+psycopg://firescrapling:firescrapling@postgres:5432/firescrapling
# POSTGRES_USER=firescrapling
# POSTGRES_PASSWORD=firescrapling
# POSTGRES_DB=firescrapling
# Host publish port (container stays 5432). Default 5433 avoids clashes with other local DBs.
# POSTGRES_HOST_PORT=5433
# Pytest against Postgres (use a dedicated DB, not the live app DB):
# TEST_DATABASE_URL=postgresql+psycopg://firescrapling:firescrapling@localhost:5433/firescrapling_test