-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
31 lines (25 loc) · 967 Bytes
/
.env.example
File metadata and controls
31 lines (25 loc) · 967 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
# Strapi core secrets — generate these with the commands in QUICKSTART.md
APP_KEYS=key1,key2,key3,key4
API_TOKEN_SALT=your-api-token-salt
ADMIN_JWT_SECRET=your-admin-jwt-secret
TRANSFER_TOKEN_SALT=your-transfer-token-salt
JWT_SECRET=your-jwt-secret
# Strapi server
HOST=0.0.0.0
PORT=1337
# Database
DATABASE_FILENAME=.tmp/data.db
# Strapi API (used by Astro to fetch content)
STRAPI_URL=http://localhost:1337
STRAPI_API_TOKEN=your-api-token
# Astro frontend URL (used by Strapi for preview iframe)
ASTRO_PREVIEW_URL=http://localhost:1103
# Media uploads
# Only needed if uploads are hosted externally (CDN, S3, etc.).
# When unset, upload URLs are kept as relative paths (/uploads/...).
# STRAPI_UPLOADS_BASE_URL=https://cdn.example.com
# Git sync
# Set to "true" to disable automatic git commit + push after content changes.
# Useful in local development to avoid committing every published change.
# STRAPI_DISABLE_GIT_SYNC=true
# STRAPI_GIT_SYNC_REPO_PATH