SparkyFitness---Backend

SparkyFitness---Backend

Docker 应用程序 from grtgbln's Repository

概述

SparkyFitness is a comprehensive fitness tracking and management application designed to help users monitor their nutrition, exercise, and body measurements. It provides tools for daily progress tracking, goal setting, and insightful reports to support a healthy lifestyle.
This is the backend container.

要求


        Requires separate SparkyFitness - Frontend and Postgres containers.
    

运行时参数

网络
sparkyfitness
特权
false

模板配置

API PortPorttcp

Container Port: 3010

目标
3010
默认值
3010
价值
3010
Postgres - HostVariable

Hostname or IP address of the Postgres server

目标
SPARKY_FITNESS_DB_HOST
默认值
http://IP_ADDRESS
价值
http://IP_ADDRESS
Postgres - PortVariable

Port number for the Postgres server

目标
SPARKY_FITNESS_DB_PORT
默认值
5432
价值
5432
Postgres - Database NameVariable

Name of the Postgres database

目标
SPARKY_FITNESS_DB_NAME
默认值
sparkyfitness_db
价值
sparkyfitness_db
Postgres - UsernameVariable

Username for the Postgres database

目标
SPARKY_FITNESS_DB_USER
Postgres - PasswordVariable

Password for the Postgres database

目标
SPARKY_FITNESS_DB_PASSWORD
Postgres - UsernameVariable

Username for the Postgres database

目标
SPARKY_FITNESS_APP_DB_USER
Postgres - PasswordVariable

Password for the Postgres database

目标
SPARKY_FITNESS_APP_DB_PASSWORD
Garmin Microservice URLVariable

URL of the Garmin microservice (e.g., http://IP_ADDRESS:8000)

目标
GARMIN_MICROSERVICE_URL
默认值
http://IP_ADDRESS:8000
价值
http://IP_ADDRESS:8000
Frontend URLVariable

URL where the frontend is accessible (e.g., http://IP_ADDRESS:3004)

目标
SPARKY_FITNESS_FRONTEND_URL
默认值
http://IP_ADDRESS:3004
价值
http://IP_ADDRESS:3004
Security - Encryption KeyVariable

A 64-character hex string used to encrypt data. Generate with 'openssl rand -hex 32'

目标
SPARKY_FITNESS_API_ENCRYPTION_KEY
Security - SecretVariable

A secret key. Generate with 'openssl rand -base64 32'

目标
BETTER_AUTH_SECRET
Disable User SignupsVariable

Set to true to disable new user registrations

目标
SPARKY_FITNESS_DISABLE_SIGNUP
默认值
false|true
Force Email LoginsVariable

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
Admin EmailVariable

Automatically grant admin rights to this email

目标
SPARKY_FITNESS_ADMIN_EMAIL
Email - SMTP HostVariable

SMTP server hostname for sending emails

目标
SPARKY_FITNESS_EMAIL_HOST
Email - SMTP PortVariable

SMTP server port (default: 587)

目标
SPARKY_FITNESS_EMAIL_PORT
默认值
587
价值
587
Email - SMTP SecureVariable

Set to true if the SMTP server requires a secure connection (TLS)

目标
SPARKY_FITNESS_EMAIL_SECURE
默认值
false|true
Email - SMTP UserVariable

SMTP server username for authentication

目标
SPARKY_FITNESS_EMAIL_USER
Email - SMTP PasswordVariable

SMTP server password for authentication

目标
SPARKY_FITNESS_EMAIL_PASS
Email - From AddressVariable

Email address that emails will be sent from

目标
SPARKY_FITNESS_EMAIL_FROM
Backup StoragePath

Path to the backup storage folder

目标
/app/SparkyFitnessServer/backup
默认值
/mnt/user/appdata/sparkyfitness/backup
价值
/mnt/user/appdata/sparkyfitness/backup
Uploads StoragePath

Path to the uploads storage folder

目标
/app/SparkyFitnessServer/uploads
默认值
/mnt/user/appdata/sparkyfitness/uploads
价值
/mnt/user/appdata/sparkyfitness/uploads
Log LevelVariable

Logging level

目标
SPARKY_FITNESS_LOG_LEVEL
默认值
INFO|DEBUG|WARN|ERROR
Node EnvironmentVariable

Node environment setting

目标
NODE_ENV
默认值
production|development
Internal API PortVariable

Internal ort for API communication. Not recommended to change.

目标
SPARKY_FITNESS_SERVER_PORT
默认值
3010
价值
3010

下载统计数据

570,094
下载总数
141,701
本月
78,228
平均每月

长期下载总量

加载图表...

详细信息

存储库
codewithcj/sparkyfitness_server:latest
最后更新2026-05-24
初见2025-08-29

在Unraid 上运行 SparkyFitness---Backend 。

SparkyFitness---Backend 已被列入Unraid OS 的社区应用程序。探索Unraid ,构建灵活的家庭服务器、NAS 或家庭实验室。