41 lines
1.8 KiB
Plaintext
41 lines
1.8 KiB
Plaintext
# -----------------------------------------------------------------------------
|
|
# Build-time content sync
|
|
# Copy this file to `.env` and fill in the real values in your build environment.
|
|
# Tokens must only exist in the server/build environment and must never be
|
|
# exposed to browser-side code.
|
|
# -----------------------------------------------------------------------------
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Gitea
|
|
# -----------------------------------------------------------------------------
|
|
GITEA_BASE_URL=https://gitea.sepcomet.xyz
|
|
GITEA_TOKEN=
|
|
GITEA_USERNAME=sepcomet
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Seafile
|
|
# -----------------------------------------------------------------------------
|
|
SEAFILE_BASE_URL=https://seafile.sepcomet.xyz
|
|
SEAFILE_TOKEN=
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Output
|
|
# Relative paths are resolved from the repo root.
|
|
# -----------------------------------------------------------------------------
|
|
SYNC_OUTPUT_DIR=src/data/generated
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Optional behavior
|
|
# When STRICT_SYNC=true, the sync step should fail loudly instead of silently
|
|
# falling back to cached/seed data.
|
|
# -----------------------------------------------------------------------------
|
|
STRICT_SYNC=false
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Optional future behavior
|
|
# First phase only needs metadata + links. If one day you want to mirror actual
|
|
# download files into the site, these variables can be enabled.
|
|
# -----------------------------------------------------------------------------
|
|
SEAFILE_MIRROR_DOWNLOADS=false
|
|
DOWNLOADS_OUTPUT_DIR=public/downloads
|