Cloudflare stops the datacentre from opening resultados.fpf.pt. The app API still returns the calendar and headshots, and a Liga squad is left as Liga published it.
77 lines
3.6 KiB
Bash
77 lines
3.6 KiB
Bash
NODE_ENV=production
|
|
PORT=3000
|
|
LOG_LEVEL=info
|
|
APP_VERSION=dev
|
|
DATABASE_URL=postgresql://photoreport:CHANGE_ME@pr-db:5432/photoreport
|
|
# The worker sizes its own pool from these three so the total stays under Postgres' max_connections. Leave unset
|
|
# unless this install's PM2 api instances, API pool size, or Postgres max_connections differ from the defaults
|
|
# (2, 10, 100).
|
|
# API_DB_POOL_SIZE=
|
|
# API_INSTANCES=
|
|
# DB_MAX_CONNECTIONS=
|
|
# DB_SUPERUSER_RESERVED_CONNECTIONS=
|
|
# At least 32 random characters, e.g. `openssl rand -base64 48`
|
|
JWT_SECRET=
|
|
ACCESS_TOKEN_TTL_SEC=900
|
|
REFRESH_TOKEN_TTL_DAYS=30
|
|
CORS_ORIGINS=https://app.next.photoreport.pt,tauri://localhost,http://tauri.localhost
|
|
APP_PUBLIC_URL=https://app.next.photoreport.pt
|
|
ALLOW_SIGNUP=false
|
|
# Workspace modules this server may offer (library,develop,metadata,delivery,siteGallery,shop,print,archive,faces,numbers).
|
|
# Unset: an organization can switch any of them on. A list here is the ceiling.
|
|
# PHOTOREPORT_APP_MODULES=
|
|
|
|
# Library and ingest
|
|
STORAGE_ROOT=/srv/photoreport-data/storage
|
|
# SFTPGo home folders live under INGEST_ROOT/<ftp login>/
|
|
INGEST_ROOT=/srv/photoreport-data/ingest
|
|
INGEST_SCAN_INTERVAL_MS=2000
|
|
# How much runs at once is sized from the container's CPUs and memory (logged as "capacity" when the worker
|
|
# starts). Leave INGEST_CONCURRENCY, ARCHIVE_CONCURRENCY, DELIVERY_CONCURRENCY, FACES_PROCESSES and RENDER_PROCESSES
|
|
# unset; set one only to pin it.
|
|
# INGEST_CONCURRENCY=
|
|
FILE_URL_TTL_SEC=3600
|
|
|
|
# Delivery (Nextcloud). 32 random bytes, base64: openssl rand -base64 32
|
|
DELIVERY_SECRET_KEY=
|
|
# DELIVERY_CONCURRENCY=
|
|
|
|
# Face recognition (organizations with biometrics switched on). Build: cargo build --release -p photoreport-faces
|
|
# Models: infra/faces/download-models.sh /srv/photoreport-data/models
|
|
FACES_BIN=/srv/photoreport/target/release/photoreport-faces
|
|
FACES_MODELS_DIR=/srv/photoreport-data/models
|
|
FACES_EMBEDDER=auraface
|
|
# FACES_PROCESSES=
|
|
# Shirt-number model trained with workers/ml/jersey (optional; leave empty until you have one)
|
|
JERSEY_MODEL_DIR=
|
|
# Develop: replays edits and renders edited thumbnails and deliveries (workers/render).
|
|
RENDER_BIN=/srv/photoreport/target/release/photoreport-render
|
|
# RENDER_PROCESSES=
|
|
# SFTPGo external auth hook key (same value in the hook URL ?key=...)
|
|
# SFTPGO_HOOK_KEY=
|
|
# Shop: mail with the download link (optional) and the Stripe API (only changed for local tests).
|
|
# SMTP_URL=smtps://user:[email protected]:465
|
|
MAIL_FROM=PhotoReport <[email protected]>
|
|
|
|
# Desktop shell updates (apps/desktop): Gitea API base of this repo and a read-only token for its releases.
|
|
# DESKTOP_RELEASES_API=https://git.bitreport.pt/api/v1/repos/BitReport.pt/photoreport
|
|
# DESKTOP_RELEASES_TOKEN=
|
|
# Public address of this API (installer links for the desktop updater).
|
|
# API_PUBLIC_URL=https://api.next.photoreport.pt
|
|
# Public events site. A client gallery opens at <this>/cliente/<slug>.
|
|
# Unset: api.<domain> becomes events.<domain>; any other API address uses http://localhost:3100.
|
|
# SITE_PUBLIC_URL=http://localhost:3100
|
|
|
|
# Joga+ (the FPF app API). Unset: the worker only reads resultados.fpf.pt HTML, which Cloudflare
|
|
# blocks from the datacentre. The access token is an account session; keep it here, never in git.
|
|
# FPF_JOGA_API_KEY=
|
|
# FPF_JOGA_ACCESS_TOKEN=
|
|
# FPF_JOGA_REFRESH_TOKEN=
|
|
|
|
# Errors to errors.bitreport.pt (BitReport's error hub; Paperclip picks them up and fixes them). The ingest key of
|
|
# the "photoreport" project there; without it nothing is sent. API, worker and the browsers (through the API's
|
|
# /v1/client-errors) all report with it.
|
|
# ERROR_REPORTING_TOKEN=
|
|
# ERROR_REPORTING_ENDPOINT=https://errors.bitreport.pt
|
|
# ERROR_REPORTING_DISABLED=0
|