-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
39 lines (30 loc) · 968 Bytes
/
Copy path.env.example
File metadata and controls
39 lines (30 loc) · 968 Bytes
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
# BookShelf Environment Configuration
# Copy this file to .env and update the values
# Session secret - REQUIRED
# Generate a secure random string: openssl rand -hex 32
SESSION_SECRET=your-secret-key-here
# Node environment (development or production)
NODE_ENV=production
# Server port (default: 3000)
PORT=3000
# Origin URL (required for SvelteKit in production)
# Set to your actual domain in production
ORIGIN=http://localhost:3000
# Database path (default: ./data/database.sqlite)
DATABASE_PATH=./data/database.sqlite
# Log directory (default: ./logs)
LOG_DIR=./logs
# File storage paths
COVERS_PATH=./data/covers
EBOOKS_PATH=./data/ebooks
BACKUPS_PATH=./data/backups
# Docker PUID/PGID (for file permissions in containers)
# Run 'id' on your host to find your UID/GID
PUID=1000
PGID=1000
# Optional: Email configuration for password reset
# SMTP_HOST=smtp.example.com
# SMTP_PORT=587
# SMTP_USER=user
# SMTP_PASS=password
# SMTP_FROM=noreply@example.com