SparkyFitness---Backend
Docker 应用程序 from grtgbln's Repository
概述
This is the backend container.
要求
Requires separate SparkyFitness - Frontend and Postgres containers.
运行时参数
- 网络
sparkyfitness- 特权
- false
模板配置
Container Port: 3010
- 目标
- 3010
- 默认值
- 3010
- 价值
- 3010
Hostname or IP address of the Postgres server
- 目标
- SPARKY_FITNESS_DB_HOST
- 默认值
- http://IP_ADDRESS
- 价值
- http://IP_ADDRESS
Port number for the Postgres server
- 目标
- SPARKY_FITNESS_DB_PORT
- 默认值
- 5432
- 价值
- 5432
Name of the Postgres database
- 目标
- SPARKY_FITNESS_DB_NAME
- 默认值
- sparkyfitness_db
- 价值
- sparkyfitness_db
Username for the Postgres database
- 目标
- SPARKY_FITNESS_DB_USER
Password for the Postgres database
- 目标
- SPARKY_FITNESS_DB_PASSWORD
Username for the Postgres database
- 目标
- SPARKY_FITNESS_APP_DB_USER
Password for the Postgres database
- 目标
- SPARKY_FITNESS_APP_DB_PASSWORD
URL of the Garmin microservice (e.g., http://IP_ADDRESS:8000)
- 目标
- GARMIN_MICROSERVICE_URL
- 默认值
- http://IP_ADDRESS:8000
- 价值
- http://IP_ADDRESS:8000
URL where the frontend is accessible (e.g., http://IP_ADDRESS:3004)
- 目标
- SPARKY_FITNESS_FRONTEND_URL
- 默认值
- http://IP_ADDRESS:3004
- 价值
- http://IP_ADDRESS:3004
A 64-character hex string used to encrypt data. Generate with 'openssl rand -hex 32'
- 目标
- SPARKY_FITNESS_API_ENCRYPTION_KEY
A secret key. Generate with 'openssl rand -base64 32'
- 目标
- BETTER_AUTH_SECRET
Set to true to disable new user registrations
- 目标
- SPARKY_FITNESS_DISABLE_SIGNUP
- 默认值
- false|true
Force email/password login to be enabled, overriding any in-app settings. This is a fail-safe to prevent being locked out if OIDC is misconfigured.
- 目标
- SPARKY_FITNESS_FORCE_EMAIL_LOGIN
- 默认值
- false|true
Automatically grant admin rights to this email
- 目标
- SPARKY_FITNESS_ADMIN_EMAIL
SMTP server hostname for sending emails
- 目标
- SPARKY_FITNESS_EMAIL_HOST
SMTP server port (default: 587)
- 目标
- SPARKY_FITNESS_EMAIL_PORT
- 默认值
- 587
- 价值
- 587
Set to true if the SMTP server requires a secure connection (TLS)
- 目标
- SPARKY_FITNESS_EMAIL_SECURE
- 默认值
- false|true
SMTP server username for authentication
- 目标
- SPARKY_FITNESS_EMAIL_USER
SMTP server password for authentication
- 目标
- SPARKY_FITNESS_EMAIL_PASS
Email address that emails will be sent from
- 目标
- SPARKY_FITNESS_EMAIL_FROM
Path to the backup storage folder
- 目标
- /app/SparkyFitnessServer/backup
- 默认值
- /mnt/user/appdata/sparkyfitness/backup
- 价值
- /mnt/user/appdata/sparkyfitness/backup
Path to the uploads storage folder
- 目标
- /app/SparkyFitnessServer/uploads
- 默认值
- /mnt/user/appdata/sparkyfitness/uploads
- 价值
- /mnt/user/appdata/sparkyfitness/uploads
Logging level
- 目标
- SPARKY_FITNESS_LOG_LEVEL
- 默认值
- INFO|DEBUG|WARN|ERROR
Node environment setting
- 目标
- NODE_ENV
- 默认值
- production|development
Internal ort for API communication. Not recommended to change.
- 目标
- SPARKY_FITNESS_SERVER_PORT
- 默认值
- 3010
- 价值
- 3010
下载统计数据
长期下载总量
详细信息
codewithcj/sparkyfitness_server:latest在Unraid 上运行 SparkyFitness---Backend 。
SparkyFitness---Backend 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。