Try describing what you need:

Schautrack logo

Schautrack

★ 47

A self-hosted alternative to Myfitnesspal, Yazio, Lose It, Cronometer

GNU Affero General Public License v3.0Open Source — No Paywall2 Containers — 2 containers — light hosting footprintDocker · Compose · K8s +2Needs Postgres2+ active committers (12mo)

About

Schautrack is a self-hostable nutrition tracking application aimed at people who want to record food intake, body weight, and progress toward health goals without relying on a hosted SaaS product. It...

Community Ratings

No ratings yet

Features

  • calorie and macro logging
  • saved foods quick-add
  • daily goals with progress tracking
  • AI nutrition estimation from photos
  • barcode scanning
  • weight tracking
  • body-fat percentage tracking
  • weight-loss planning
  • daily notes and recurring todos
  • sharing with friends via account linking and read-only permissions per category

Details

Last Updated
Nov 5, 2026
Created
Jan 16, 2026
Install Methods
dockerdocker-composekuberneteshelmsource
Requirements
PostgreSQLDocker ComposeKubernetesHelmOpenAI, Claude, Gemini, or Ollama for AI featuresSMTP server for transactional emailOIDC-compliant identity provider for SSO
Default Port
8080web app
Authentication
oidc-sso2falocal
API
REST
Backup & Export
database-dump
Privacy & Independence
Cloud: Optional
User Model
Multi-User
Deployment

Deployment: Docker Compose ✓2 Containers — light hosting footprintRuns as 2 containers

Run Schautrack yourself

Pick how much you want to manage.

1 more way to host

Some links earn us a commission. netcup pays us one and is our preferred VPS host.

Is this your project? Sponsor a listing

Run Schautrack with Docker Compose

Compose file from the Schautrack project repository.

2 services · database: postgres · infra: postgres

no resource limits declared

needs persistent storage (1 volume)

compose.yml · @ cb12414 · scanned Nov 3, 2026

# ============================================================================
# SECURITY WARNING: Change default database credentials before deploying!
#
# 1. Copy .env.example to .env
# 2. Generate a strong POSTGRES_PASSWORD (not the default "schautrack")
# 3. Configure SMTP settings for email functionality
# ============================================================================

name: schautrack

services:
  web:
    image: ghcr.io/schaurian/schautrack:latest
    env_file: .env
    ports:
      # Bind to loopback only: this file assumes a reverse proxy in front, and
      # the app trusts X-Forwarded-For by default (TRUST_PROXY=true). Exposing
      # the raw port on 0.0.0.0 would let clients spoof their apparent IP and
      # defeat the rate limiters. If you deploy without a proxy, change this to
      # "8080:3000" and set TRUST_PROXY=false in .env.
      - "127.0.0.1:8080:3000"
    depends_on:
      db:
        condition: service_healthy
    networks:
      - app-network
    healthcheck:
      test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000/api/health"]
      interval: 30s
      timeout: 5s
      retries: 3
      start_period: 10s
    restart: unless-stopped

  db:
    image: postgres:18-alpine
    env_file: .env
    environment:
      - TZ=UTC
      - PGTZ=UTC
    networks:
      - app-network
    healthcheck:
      # Escape as $$ so the variables expand inside the container (from
      # env_file), not at compose parse time from the host env / auto-loaded .env.
      test: ["CMD-SHELL", "pg_isready -U $$POSTGRES_USER -d $$POSTGRES_DB"]
      interval: 5s
      timeout: 3s
      retries: 5
      start_period: 5s
    volumes:
      # PostgreSQL 18+ stores data in a version-specific subdirectory; mount the
      # parent so data persists (data lands in /var/lib/postgresql/18/docker).
      # See https://github.com/docker-library/postgres/pull/1259
      - db-data:/var/lib/postgresql
    restart: unless-stopped

  # ============================================================================
  # OLLAMA (Optional) - Local AI for calorie estimation
  # ============================================================================
  # Uncomment to enable. Requires a GPU with sufficient VRAM.
  # CPU inference is possible but very slow and not recommended.
  # Set AI_PROVIDER=ollama and AI_MODEL=gemma3:12b in .env to use.
  #
  # ollama:
  #   image: ollama/ollama:latest
  #   ports:
  #     - "11434:11434"
  #   volumes:
  #     - ollama-data:/root/.ollama
  #   healthcheck:
  #     test: ["CMD", "ollama", "list"]
  #     interval: 10s
  #     timeout: 5s
  #     retries: 5
  #   restart: unless-stopped
  #   deploy:
  #     resources:
  #       reservations:
  #         devices:
  #           - driver: nvidia
  #             count: 1
  #             capabilities: [gpu]
  #
  # ollama-pull:
  #   image: ollama/ollama:latest
  #   depends_on:
  #     ollama:
  #       condition: service_healthy
  #   entrypoint: ["sh", "-c", "ollama pull ${AI_MODEL:-gemma3:12b}"]
  #   environment:
  #     - OLLAMA_HOST=ollama:11434
  #   env_file: .env
  #   restart: "no"

volumes:
  db-data:
  # ollama-data:

networks:
  app-network:
    driver: bridge
    internal: false  # Web service needs external access for SMTP/AI APIs

Track your self-hosted stack

Bookmark software to try, rate tools you've used, and keep your collection in one place.

Metadata extracted from README on Oct 2, 2026

Alternatives to Schautrack

NutriTrace logo

NutriTrace

386
NutriTrace is a self-hosted personal nutrition tracker for logging food, body stats, water, goals, and related health data with a browser PWA and Android app.
Health & FitnessRecipe ManagersSelf Hosting Solutions+2
Single Container
Details
MacroTrackr logo

MacroTrackr

17
A privacy-respecting macro tracker for logging meals, setting macro goals, tracking weight trends, and importing nutrition history.
Health & FitnessSelf Hosting SolutionsFully FOSS
2 ContainersFully FOSS
Details
openplate logo

openplate

70
openplate is an open-source, self-hosted food tracker with BYOK AI plate identification and encrypted device sync.
Health & FitnessSelf Hosting SolutionsArtificial Intelligence+1
Single ContainerFully FOSS
Details
SparkyFitness logo

SparkyFitness

6.8k
A self-hosted, privacy-first fitness tracking platform for logging nutrition, exercise, body metrics, and other health data.
Health & FitnessPersonal DashboardsSelf Hosting Solutions+1
3 ContainersSource Available
Details
PANTS logo

PANTS

133
PANTS is a self-hosted nutrition tracker and nutritional analysis tool for ingredients, recipes, diary entries, and dietary targets.
Health & FitnessRecipe ManagersSelf Hosting Solutions+1
Details
Lyftr logo

Lyftr

370
Lyftr is a self-hosted, mobile-first workout and nutrition tracker that lets users log workouts, build programs, and track progress, weight, and calories.
Health & FitnessSelf Hosting SolutionsFully FOSS+1
2 ContainersFully FOSS
Details
OpenNutriTracker logo

OpenNutriTracker

2.9k
OpenNutriTracker is an open-source calorie, macro, and micronutrient logging app for Android and iOS.
Health & FitnessRecipe ManagersFully FOSS
Fully FOSS
Details
wger logo

wger

7.3k
wger is a free workout and fitness manager with routines, tracking, nutrition logging, and a built-in exercise wiki.
Health & FitnessWikisPhoto Galleries+3
Details

Related Software

Mealie logo

Mealie

13.9k
Mealie is a self-hosted recipe manager, meal planner, and shopping list app with a REST API and Vue-based frontend.
Recipe ManagersPermissive LicenseTask Management+2
Single Container
Details
Dreeve logo

Dreeve

2.2k
Dreeve is a self-hosted, open-source dashboard for sports and fitness data.
Health & FitnessPersonal DashboardsAnalytics Tools+4
3 ContainersFully FOSS
Details
Vanilla Cookbook logo

Vanilla Cookbook

157
Vanilla Cookbook is a self-hosted recipe manager with recipe parsing, scaling, shopping lists, cooking logs, and optional AI-assisted features.
Recipe ManagersArtificial IntelligenceSelf Hosting Solutions+2
Details
Beaver Habit Tracker logo

Beaver Habit Tracker

1.9k
A self-hosted habit tracking app without goals.
Time TrackingPermissive LicenseHealth & Fitness+2
Freemium
Details
Tandoor Recipes logo

Tandoor Recipes

8.7k
A self-hosted recipe manager for organizing, planning, importing, and sharing digital recipes.
Recipe ManagersSelf Hosting SolutionsMedia Management+5
Open CoreFOSS with Issues
Details
Recipya logo

Recipya

413
A recipe manager web application for organizing, importing, digitizing, and sharing family recipes.
Recipe ManagersCopyleft LicenseSelf Hosting Solutions
Details
Endurain logo

Endurain

1.9k
Endurain is a self-hosted fitness tracking service for managing workout and activity data with privacy and customization in mind.
Health & FitnessSelf Hosting SolutionsMaps and GPS+2
Fully FOSS
Details
grocy logo

grocy

9.7k
Grocy is a web-based, self-hosted groceries and household management solution for the home.
Resource PlanningInventory ManagementPermissive License+2
Details