SparkyFitness---Backend
SparkyFitness---Backend
Docker app from grtgbln's Repository
Overview
This is the backend container.
Requirements
Requires separate SparkyFitness - Frontend and Postgres containers.
Runtime arguments
- Network
sparkyfitness- Privileged
- false
Template configuration
Container Port: 3010
- Target
- 3010
- Default
- 3010
- Value
- 3010
Hostname or IP address of the Postgres server
- Target
- SPARKY_FITNESS_DB_HOST
- Default
- http://IP_ADDRESS
- Value
- http://IP_ADDRESS
Port number for the Postgres server
- Target
- SPARKY_FITNESS_DB_PORT
- Default
- 5432
- Value
- 5432
Name of the Postgres database
- Target
- SPARKY_FITNESS_DB_NAME
- Default
- sparkyfitness_db
- Value
- sparkyfitness_db
Username for the Postgres database
- Target
- SPARKY_FITNESS_DB_USER
Password for the Postgres database
- Target
- SPARKY_FITNESS_DB_PASSWORD
Username for the Postgres database
- Target
- SPARKY_FITNESS_APP_DB_USER
Password for the Postgres database
- Target
- SPARKY_FITNESS_APP_DB_PASSWORD
URL of the Garmin microservice (e.g., http://IP_ADDRESS:8000)
- Target
- GARMIN_MICROSERVICE_URL
- Default
- http://IP_ADDRESS:8000
- Value
- http://IP_ADDRESS:8000
URL where the frontend is accessible (e.g., http://IP_ADDRESS:3004)
- Target
- SPARKY_FITNESS_FRONTEND_URL
- Default
- http://IP_ADDRESS:3004
- Value
- http://IP_ADDRESS:3004
A 64-character hex string used to encrypt data. Generate with 'openssl rand -hex 32'
- Target
- SPARKY_FITNESS_API_ENCRYPTION_KEY
A secret key. Generate with 'openssl rand -base64 32'
- Target
- BETTER_AUTH_SECRET
Set to true to disable new user registrations
- Target
- SPARKY_FITNESS_DISABLE_SIGNUP
- Default
- 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.
- Target
- SPARKY_FITNESS_FORCE_EMAIL_LOGIN
- Default
- false|true
Automatically grant admin rights to this email
- Target
- SPARKY_FITNESS_ADMIN_EMAIL
SMTP server hostname for sending emails
- Target
- SPARKY_FITNESS_EMAIL_HOST
SMTP server port (default: 587)
- Target
- SPARKY_FITNESS_EMAIL_PORT
- Default
- 587
- Value
- 587
Set to true if the SMTP server requires a secure connection (TLS)
- Target
- SPARKY_FITNESS_EMAIL_SECURE
- Default
- false|true
SMTP server username for authentication
- Target
- SPARKY_FITNESS_EMAIL_USER
SMTP server password for authentication
- Target
- SPARKY_FITNESS_EMAIL_PASS
Email address that emails will be sent from
- Target
- SPARKY_FITNESS_EMAIL_FROM
Path to the backup storage folder
- Target
- /app/SparkyFitnessServer/backup
- Default
- /mnt/user/appdata/sparkyfitness/backup
- Value
- /mnt/user/appdata/sparkyfitness/backup
Path to the uploads storage folder
- Target
- /app/SparkyFitnessServer/uploads
- Default
- /mnt/user/appdata/sparkyfitness/uploads
- Value
- /mnt/user/appdata/sparkyfitness/uploads
Logging level
- Target
- SPARKY_FITNESS_LOG_LEVEL
- Default
- INFO|DEBUG|WARN|ERROR
Node environment setting
- Target
- NODE_ENV
- Default
- production|development
Internal ort for API communication. Not recommended to change.
- Target
- SPARKY_FITNESS_SERVER_PORT
- Default
- 3010
- Value
- 3010
Categories
Download Statistics
Total Downloads Over Time
Details
codewithcj/sparkyfitness_server:latestRun SparkyFitness---Backend on Unraid.
SparkyFitness---Backend is listed in Community Apps for Unraid OS. Explore Unraid to build a flexible home server, NAS, or homelab.