SparkyFitness---Backend

SparkyFitness---Backend

Application Docker from grtgbln's Repository

Vue d'ensemble

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.

Exigences


        Requires separate SparkyFitness - Frontend and Postgres containers.
    

Arguments d'exécution

Réseau
sparkyfitness
Privilégié
false

Configuration du modèle

API PortPorttcp

Container Port: 3010

Cible
3010
Défaut
3010
Valeur
3010
Postgres - HostVariable

Hostname or IP address of the Postgres server

Cible
SPARKY_FITNESS_DB_HOST
Défaut
http://IP_ADDRESS
Valeur
http://IP_ADDRESS
Postgres - PortVariable

Port number for the Postgres server

Cible
SPARKY_FITNESS_DB_PORT
Défaut
5432
Valeur
5432
Postgres - Database NameVariable

Name of the Postgres database

Cible
SPARKY_FITNESS_DB_NAME
Défaut
sparkyfitness_db
Valeur
sparkyfitness_db
Postgres - UsernameVariable

Username for the Postgres database

Cible
SPARKY_FITNESS_DB_USER
Postgres - PasswordVariable

Password for the Postgres database

Cible
SPARKY_FITNESS_DB_PASSWORD
Postgres - UsernameVariable

Username for the Postgres database

Cible
SPARKY_FITNESS_APP_DB_USER
Postgres - PasswordVariable

Password for the Postgres database

Cible
SPARKY_FITNESS_APP_DB_PASSWORD
Garmin Microservice URLVariable

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

Cible
GARMIN_MICROSERVICE_URL
Défaut
http://IP_ADDRESS:8000
Valeur
http://IP_ADDRESS:8000
Frontend URLVariable

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

Cible
SPARKY_FITNESS_FRONTEND_URL
Défaut
http://IP_ADDRESS:3004
Valeur
http://IP_ADDRESS:3004
Security - Encryption KeyVariable

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

Cible
SPARKY_FITNESS_API_ENCRYPTION_KEY
Security - SecretVariable

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

Cible
BETTER_AUTH_SECRET
Disable User SignupsVariable

Set to true to disable new user registrations

Cible
SPARKY_FITNESS_DISABLE_SIGNUP
Défaut
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.

Cible
SPARKY_FITNESS_FORCE_EMAIL_LOGIN
Défaut
false|true
Admin EmailVariable

Automatically grant admin rights to this email

Cible
SPARKY_FITNESS_ADMIN_EMAIL
Email - SMTP HostVariable

SMTP server hostname for sending emails

Cible
SPARKY_FITNESS_EMAIL_HOST
Email - SMTP PortVariable

SMTP server port (default: 587)

Cible
SPARKY_FITNESS_EMAIL_PORT
Défaut
587
Valeur
587
Email - SMTP SecureVariable

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

Cible
SPARKY_FITNESS_EMAIL_SECURE
Défaut
false|true
Email - SMTP UserVariable

SMTP server username for authentication

Cible
SPARKY_FITNESS_EMAIL_USER
Email - SMTP PasswordVariable

SMTP server password for authentication

Cible
SPARKY_FITNESS_EMAIL_PASS
Email - From AddressVariable

Email address that emails will be sent from

Cible
SPARKY_FITNESS_EMAIL_FROM
Backup StoragePath

Path to the backup storage folder

Cible
/app/SparkyFitnessServer/backup
Défaut
/mnt/user/appdata/sparkyfitness/backup
Valeur
/mnt/user/appdata/sparkyfitness/backup
Uploads StoragePath

Path to the uploads storage folder

Cible
/app/SparkyFitnessServer/uploads
Défaut
/mnt/user/appdata/sparkyfitness/uploads
Valeur
/mnt/user/appdata/sparkyfitness/uploads
Log LevelVariable

Logging level

Cible
SPARKY_FITNESS_LOG_LEVEL
Défaut
INFO|DEBUG|WARN|ERROR
Node EnvironmentVariable

Node environment setting

Cible
NODE_ENV
Défaut
production|development
Internal API PortVariable

Internal ort for API communication. Not recommended to change.

Cible
SPARKY_FITNESS_SERVER_PORT
Défaut
3010
Valeur
3010

Télécharger les statistiques

570,094
Total des téléchargements
141,701
Ce mois-ci
78,228
Moyenne / Mois

Total des téléchargements au fil du temps

Chargement du graphique...

Détails

Référentiel
codewithcj/sparkyfitness_server:latest
Dernière mise à jour2026-05-24
Première vue2025-08-29

Exécutez SparkyFitness---Backend sur Unraid.

SparkyFitness---Backend est listé dans Community Apps pour Unraid OS. Explorez Unraid pour créer un serveur domestique flexible, un NAS ou un laboratoire domestique.