-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.env.example
More file actions
31 lines (27 loc) Β· 1.57 KB
/
Copy path.env.example
File metadata and controls
31 lines (27 loc) Β· 1.57 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
# Salvo β environment template. Copy to .env (gitignored) and fill in real values.
# The app runs fully OFFLINE by default (mock providers, zero credentials) β none of
# these are required for the demo. Set the B2 keys to run against real Backblaze B2.
#
# Each variable notes WHERE to get its value.
# 1 = OFFLINE demo mode (mock providers + LocalDirBackend, no network). Default.
# Also implied automatically when no B2 credentials are present.
OFFLINE=1
# --- Backblaze B2 (scoped application key β never the account master key) ---
# Where: https://secure.backblaze.com β B2 Cloud Storage β Application Keys β
# "Add a New Application Key". Scope it to the bucket below.
# keyID β B2_KEY_ID, applicationKey β B2_APP_KEY (shown ONCE at creation β copy it).
B2_KEY_ID=
B2_APP_KEY=
# Bucket name β create under B2 β Buckets β "Create a Bucket" (must be globally unique).
B2_BUCKET_NAME=salvo-media
# B2 region slug β match your account's cluster. The cluster number shows in the B2
# console; region = us-<west|east>-00<cluster> (e.g. cluster 004 β us-west-004,
# cluster 005 β us-east-005). Endpoint is derived as s3.<region>.backblazeb2.com.
# Required for us-east-005 (it can't be auto-detected). Defaults to us-west-004 if unset.
B2_REGION=us-west-004
# --- Budget guardrail ---
# Self-chosen per-campaign hard cap: a campaign whose projected spend exceeds this
# is refused before spending (typed BUDGET_SKIP).
MAX_CAMPAIGN_COST_USD=1.00
# Optional: override the local object-store path (OFFLINE mode). Any writable path.
# SALVO_LOCAL_STORE=./var/local-store