openvisengine/.env.ove

18 lines
1.1 KiB
Text
Executable file

# OVE — env template (v7.15.3). TRACKED (with .env) in the strictly private,
# self-hosted Forgejo repo (gitzcreations/openvisengine) by explicit operator
# authorization, so sandbox reprovisions can never wipe it. .zscripts/dev.sh
# copies this file over .env whenever .env is missing OVE_DIRECTORY_API_KEY
# (the sandbox bootstrap rewrites .env to a bare DATABASE_URL line on every
# reprovision); the committed .env is held byte-identical to this template so
# the tree stays clean after every heal.
#
# NOTE on DATABASE_URL: Prisma resolves relative SQLite paths against
# prisma/schema.prisma's directory, NOT the project root — so the portable
# form is ../db/custom.db (= <repo>/db/custom.db). A literal ./db/custom.db
# (as first committed in 3286721) resolves to <repo>/prisma/db/custom.db and
# breaks both the Prisma CLI (db push would silently create a fresh empty
# database there) and the runtime (cannot open) — verified empirically,
# worklog Task 47.
DATABASE_URL=file:../db/custom.db
OVE_DIRECTORY_URL=https://s3374dir.openvisengine.com
OVE_DIRECTORY_API_KEY=+7MkRB+hkV0UBhPqM1haTQ0f8JGKqkuXwoBTdTSAouU=