-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.env.example
More file actions
57 lines (45 loc) · 1.5 KB
/
.env.example
File metadata and controls
57 lines (45 loc) · 1.5 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
# Fiduswriter Docker Environment Configuration
# Copy this file to .env and adjust values as needed
# Fiduswriter version to use
# Set to a specific version (e.g., 4.0.17) or leave default to use latest in 4.0.x series
FIDUSWRITER_VERSION=4.0.17
# Container user/group IDs
# These should match the ownership of your volumes directory
EXECUTING_USER_ID=999
EXECUTING_GROUP_ID=999
# Port mapping
# Change if you need to run on a different port
HOST_PORT=8000
CONTAINER_PORT=8000
# Data directory
# Path on host machine for persistent data
DATA_DIR=./volumes/data
# Container restart policy
# Options: no, always, on-failure, unless-stopped
RESTART_POLICY=unless-stopped
# Timezone (optional)
TZ=UTC
# Database configuration (if using external database)
# Leave commented out to use default SQLite
# DB_ENGINE=postgresql
# DB_NAME=fiduswriter
# DB_USER=fiduswriter
# DB_PASSWORD=changeme
# DB_HOST=db
# DB_PORT=5432
# Email configuration (optional)
# EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend
# EMAIL_HOST=smtp.example.com
# EMAIL_PORT=587
# EMAIL_USE_TLS=true
# EMAIL_HOST_USER=your-email@example.com
# EMAIL_HOST_PASSWORD=your-password
# DEFAULT_FROM_EMAIL=noreply@example.com
# Debug mode (set to false in production!)
DEBUG=false
# Allowed hosts (comma-separated)
# ALLOWED_HOSTS=localhost,127.0.0.1,your-domain.com
# Secret key (generate a new one for production!)
# SECRET_KEY=change-this-to-a-random-string-in-production
# CSRF trusted origins (for HTTPS)
# CSRF_TRUSTED_ORIGINS=https://your-domain.com