-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.env.dev.example
More file actions
79 lines (68 loc) · 4.39 KB
/
Copy path.env.dev.example
File metadata and controls
79 lines (68 loc) · 4.39 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
72
73
74
75
76
77
78
79
# ============================================================
# Pullbox — Local Development Environment
# ============================================================
# This file is for LOCAL DEVELOPMENT only.
# Production deployments use environment/bootstrap settings plus a generated
# config.xml host secret inside /data/.
# See docker/docker-compose.yml for production setup.
# ============================================================
#
# Copy to .env for local development: cp .env.dev.example .env
#
# Do not use this file for Docker production installs. Production compose
# installs should copy docker/.env.example instead.
#
# Most Pullbox settings use the PULLBOX_ prefix. This file is only a
# local-development convenience for runtime/bootstrap values; app settings
# changed in the UI live in system_config.
# Docker uses absolute /data/* paths; local dev uses relative ./data/* paths.
# ── Timezone ─────────────────────────────────────────────────────────
TZ=America/Los_Angeles
# ── Secret Key (dev only) ───────────────────────────────────────────
# In production, config.xml auto-generates a secret key on first run. Only set
# PULLBOX_SECRET_KEY in production if you intentionally manage the secret
# outside config.xml and will keep it stable forever.
# For local dev, set this to any stable random-looking string.
PULLBOX_SECRET_KEY=dev-secret-key-change-me-in-production
# ── Database ─────────────────────────────────────────────────────────
# Relative path (3 slashes = relative in SQLite URIs)
PULLBOX_DB_URL=sqlite+aiosqlite:///data/pullbox.db
PULLBOX_SQLITE_JOURNAL_MODE=WAL
# ── Paths (local dev — relative to project root) ────────────────────
# These override the Docker defaults (/data/*) for local development.
PULLBOX_DATA_DIR=./data
PULLBOX_COVERS_DIR=./data/comics/.covers
PULLBOX_LOGS_DIR=./data/logs
PULLBOX_TEMP_DIR=./data/tmp
PULLBOX_BACKUP_DIR=./data/backups
PULLBOX_LIBRARY_ROOT=./data/comics
# ── Runtime Network (local dev) ──────────────────────────────────────
PULLBOX_BIND_ADDRESS=127.0.0.1
PULLBOX_PORT=8585
PULLBOX_BASE_URL=http://localhost:8585
# ── Native HTTPS (optional) ──────────────────────────────────────────
# Native HTTPS uses PULLBOX_PORT. Cert/key paths must point at readable files
# under PULLBOX_HTTPS_CERT_ROOT.
# PULLBOX_HTTPS_ENABLED=true
# PULLBOX_HTTPS_CERT_PATH=/config/certs/pullbox.crt
# PULLBOX_HTTPS_KEY_PATH=/config/certs/pullbox.key
# PULLBOX_HTTPS_CERT_ROOT=/config/certs
# ── Development Settings ─────────────────────────────────────────────
PULLBOX_DEBUG=true
PULLBOX_LOG_LEVEL=INFO
PULLBOX_LOG_SIZE_LIMIT_MB=1
PULLBOX_LOG_BACKUP_COUNT=5
# ── Embedded Comic Reader ───────────────────────────────────────────
# Default-on emergency gate. Disabling it preserves comics and resume state.
PULLBOX_READER_ENABLED=true
# ── ComicVine (optional) ─────────────────────────────────────────────
# Get a free API key at https://comicvine.gamespot.com/api/
# Once set, metadata refresh will fetch full series/issue details + covers.
# PULLBOX_COMICVINE_API_KEY=your-key-here
# ── Pullbox Data API (optional) ──────────────────────────────────────
# Leave the public default unless testing a local pullbox-data service or
# applying a deployment-specific private-network override.
# PULLBOX_DATA_API_BASE_URL=https://api.pullbox.app
# ── Rate Limiting ────────────────────────────────────────────────────
# Disable rate limiting in development (less friction when testing)
PULLBOX_RATE_LIMIT_ENABLED=false