docs: explain self-hosting, content import and safe upgrades

This commit is contained in:
2026-09-15 21:48:17 +03:30
parent c17b4b57b2
commit a5f8c54f2b
4 changed files with 256 additions and 4 deletions

8
.env.example Normal file
View File

@@ -0,0 +1,8 @@
# Exact public origin; use HTTPS behind your reverse proxy in production.
SITE_URL=http://localhost:3000
# Native development/maintenance database and uploads directory.
DATA_DIR=./data
# Optional. If absent, initialization generates a secret in DATA_DIR/auth-secret.
# BETTER_AUTH_SECRET=replace-with-at-least-32-random-characters
# For compose.selfhost.yaml, directory mounted at /data:
PORTFOLIO_DATA_DIR=./data