← back to Homesonspec
.env.example
20 lines
# Copy to .env — never commit real values.
DATABASE_URL="postgresql://macstudio3@localhost/homesonspec?host=/tmp"
DATABASE_URL_TEST="postgresql://macstudio3@localhost/homesonspec_test?host=/tmp"
# Admin app HTTP Basic Auth (user:pass) — set a strong value; admin fails CLOSED if unset.
BASIC_AUTH="admin:CHANGE_ME_BEFORE_DEPLOY"
# Snapshot storage root (raw fetched bodies live on disk, not in PG)
SNAPSHOT_DIR="./var/snapshots"
# Shared usre/CSLB contractor API base (powers "Find subs near this home" on the
# home detail page). Defaults to http://localhost:9913 when unset. If the API is
# unreachable the detail page renders a graceful empty-state (never errors).
CONTRACTORS_API_BASE="http://localhost:9913"
# --- Google AdSense banners (GATED — ads OFF until these are set) ---
# Supply the ca-pub-… publisher id ONLY after the AdSense account is approved.
# Empty = no ad script, no ad markup, no network calls (site ships ad-free).
NEXT_PUBLIC_ADSENSE_CLIENT=
NEXT_PUBLIC_ADSENSE_SLOT_TOP=
NEXT_PUBLIC_ADSENSE_SLOT_FOOTER=