-
Notifications
You must be signed in to change notification settings - Fork 150
Expand file tree
/
Copy path.env.example
More file actions
25 lines (23 loc) · 1.13 KB
/
Copy path.env.example
File metadata and controls
25 lines (23 loc) · 1.13 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
# Both are required whenever the backend is enabled — the app refuses to start
# without them. (In VERCEL=1 mode neither is needed.) ORIGIN must match the URL
# you open in the browser exactly, or write requests fail with 403.
ADMIN_PASSWORD="your-secure-password-here"
ORIGIN="http://localhost:5173"
# Automated backups (optional) — same values as the fly secrets. Used locally
# by `pnpm data:pull-cloud` to restore your site from the bucket.
# BUCKET_NAME="my-site-backup"
# AWS_ENDPOINT_URL_S3="https://fly.storage.tigris.dev"
# AWS_REGION="auto"
# AWS_ACCESS_KEY_ID=""
# AWS_SECRET_ACCESS_KEY=""
# Generic VPS deployment (optional) — targets the pnpm vps:* and
# pnpm data:* commands at a host reachable over plain ssh instead of
# Fly.io. For a server managed by scripts/vps-deploy.sh this one line is all
# that's needed (the rest is discovered from the server):
# DEPLOY_HOST="root@my-site.example.com"
#
# Only for hand-managed setups without that script (bare node, own compose —
# nothing to discover), or as overrides:
# RESTART_CMD="docker restart editable"
# REMOTE_EXEC="docker exec editable"
# HOST_DATA_DIR="/path/to/checkout/data"