-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdefault.env
More file actions
44 lines (35 loc) · 877 Bytes
/
default.env
File metadata and controls
44 lines (35 loc) · 877 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
40
41
42
43
44
# Server Configuration
PORT=80
HTTPS_PORT=443
NODE_ENV=production
# Docker Configuration
NODE_VERSION=25-alpine
# Root Directory
ROOT_DIRECTORY=/data
READ_ONLY_MODE=false
# Preview Limits (in bytes)
MAX_PREVIEW_BYTES=10048576
IMAGE_PREVIEW_MAX_BYTES=20097152
THUMBNAIL_MAX_BYTES=2062144
# Upload Limits
MAX_UPLOAD_BYTES=52428800
ALLOWED_UPLOAD_MIMES=
# Authentication
EXPLORER_USERNAME=demo
EXPLORER_PASSWORD=demo-password
# EXPLORER_PASSWORD_HASH= # Use bcrypt hash instead of plain password
# Session Configuration
SESSION_SECRET=change-me
SESSION_TTL_SECONDS=3600
SESSION_COOKIE_NAME=explorer_token
CSRF_COOKIE_NAME=explorer_csrf
# HTTPS Configuration
HTTPS_ENABLED=true
SSL_CERT_PATH=/certs/cert.pem
SSL_KEY_PATH=/certs/key.pem
# Cookie & CORS Configuration
COOKIE_SECURE=true
CORS_ALLOWED_ORIGIN=
# Volume Configuration
DATA_VOLUME=/mnt/nas
CERTS_VOLUME=./certs