forked from masonfox/tome
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
42 lines (36 loc) · 1.53 KB
/
.env.example
File metadata and controls
42 lines (36 loc) · 1.53 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
# Calibre Integration
# Path to your Calibre library's metadata.db file
# Examples:
# Linux: /home/user/Calibre Library/metadata.db
# macOS: /Users/user/Documents/Calibre Library/metadata.db
# Windows: C:\Users\user\Calibre Library\metadata.db
# Docker: /calibre/metadata.db (when library is mounted at /calibre)
CALIBRE_DB_PATH=/path/to/calibre/library/metadata.db
# Backup Configuration
# Backup Calibre database before migrations (only applies when CALIBRE_DB_PATH is set)
# Set to false to disable Calibre backups (default: true)
# Calibre backups are stored alongside Tome backups in date-based folders
# Same retention policy applies (keeps last 3 backups)
BACKUP_CALIBRE_DB=true
# Application
PORT=3000
NODE_ENV=development
# Base URL (optional)
# The application will automatically detect the correct URL based on the PORT setting.
# Only set this if you need to override the auto-detection (e.g., behind a reverse proxy).
# Example: NEXT_PUBLIC_BASE_URL=http://localhost:3000
# NEXT_PUBLIC_BASE_URL=
# Logging
# LOG_LEVEL options: trace, debug, info, warn, error, fatal, silent
LOG_LEVEL=info
# Pretty printing (dev only recommended)
LOG_PRETTY=true
# Optional destination file (leave unset for stdout)
# LOG_DEST=./data/tome.log
# Authentication (optional)
# Set a password to enable authentication. Leave empty or unset to disable.
# AUTH_PASSWORD=your-secure-password
# Demo Mode (optional)
# Enable read-only demo mode. All data mutations will be blocked.
# Useful for public demo sites to prevent changes to sample data.
# DEMO_MODE=true