-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
48 lines (41 loc) · 1.39 KB
/
.env.example
File metadata and controls
48 lines (41 loc) · 1.39 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
# Server
PORT=8090
# Database (relative path from project root)
DATABASE_URL=data/folio.db
# Content
CONTENT_DIR=content/blog
# Auth — generate with: openssl rand -hex 32
JWT_SECRET=
# First-time setup (optional — can be set interactively via --setup flag instead)
ADMIN_EMAIL=
ADMIN_PASSWORD=
# Theme
THEME_DIR=theme
THEME_BUILD_CMD=npm run build
# Optional: systemd service name to restart after a successful build
# Leave empty to skip service restart
THEME_SERVICE=
# Media library
# Base URL of your site (used to build absolute URLs for uploaded files)
SITE_URL=https://example.com
# Storage driver: "local" (default) or "s3"
MEDIA_STORAGE=local
# S3-compatible storage (required when MEDIA_STORAGE=s3)
# Compatible with AWS S3, Cloudflare R2, NevaObjects, MinIO, and other S3-compatible providers.
#
# S3_ENDPOINT: API endpoint of your provider
# AWS S3: https://s3.<region>.amazonaws.com
# NevaObjects: https://s3.nevaobjects.id
# Cloudflare R2: https://<account_id>.r2.cloudflarestorage.com
# MinIO: https://minio.example.com
#
# S3_PUBLIC_URL: Base URL prepended to file keys for public access
# NevaObjects: https://s3.nevaobjects.id/<your-bucket>
# Cloudflare R2: https://<custom-domain> (or your R2 public bucket URL)
# AWS S3: https://<your-bucket>.s3.<region>.amazonaws.com
S3_ENDPOINT=
S3_BUCKET=
S3_REGION=auto
S3_ACCESS_KEY=
S3_SECRET_KEY=
S3_PUBLIC_URL=