31 lines
989 B
Plaintext
31 lines
989 B
Plaintext
# Production/public domain. Must resolve to the VPS running frps.
|
|
DOMAIN=cents.homemade.net.cn
|
|
|
|
# App install identity. Use "dev" for cents-dev and "pro" for cents-pro.
|
|
APP_VARIANT=pro
|
|
# Optional overrides for the PWA install name/id.
|
|
# VITE_APP_NAME=有数记账 Dev
|
|
# VITE_APP_SHORT_NAME=有数 Dev
|
|
# VITE_APP_ID=/?app=cents-dev
|
|
|
|
# Public VPS / frps address.
|
|
FRPC_SERVER_HOST=119.28.12.24
|
|
FRPC_SERVER_PORT=7000
|
|
|
|
# Use false only after the tunnel is known to work.
|
|
TEST_MODE=false
|
|
|
|
# PostgreSQL. Use a strong secret in real production.
|
|
POSTGRES_DB=cents
|
|
POSTGRES_USER=cents
|
|
POSTGRES_PASSWORD=change-me
|
|
# Optional off-site backup over SCP. Leave BACKUP_SSH_HOST empty to disable.
|
|
# Each PostgreSQL dump is copied to the remote with its timestamped filename.
|
|
# The current host user's ~/.ssh is mounted read-only for key authentication.
|
|
BACKUP_SSH_HOST=
|
|
BACKUP_SSH_USER=backup
|
|
BACKUP_SSH_PORT=22
|
|
BACKUP_SSH_DIR=
|
|
APP_TIME_ZONE=Asia/Shanghai
|
|
EXCHANGE_RATE_API_URL=https://api.frankfurter.dev
|