Regain control over your personal health information with this self-hosted fitness tracking application. It provides a comprehensive, private alternative to mainstream services, allowing you to monitor your nutrition, exercise, and body measurements without sharing your data. The standout feature is an AI-powered nutrition coach that simplifies meal logging through chat and image recognition.
This open-source tool offers a complete suite of features to help you achieve your goals:
services:
db:
image: postgres:15-alpine
container_name: sparkyfitness-db
environment:
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
POSTGRES_DB: sparkyfitness
volumes:
- ./postgres-data:/var/lib/postgresql/data
ports:
- "5432:5432"
restart: unless-stopped
app:
image: ghcr.io/codewithcj/sparkyfitness:latest
container_name: sparkyfitness-app
depends_on:
- db
environment:
DATABASE_URL: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db:5432/sparkyfitness
NODE_ENV: production
PORT: 3000
ports:
- "3000:3000"
restart: unless-stoppedPOSTGRES_USER=sparky_admin
POSTGRES_PASSWORD=your_super_secret_passwordAuto-fetched about 19 hours ago
Auto-fetched about 19 hours ago