Schautrack
★ 47A self-hosted alternative to Myfitnesspal, Yazio, Lose It, Cronometer
About
Community Ratings
No ratings yetNew this week
Read recap →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.
netcupBest match
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
Hetzner
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
DigitalOcean
Full control
A small server, then Docker Compose.
About 20 minutes with Docker
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
Tags
Track your self-hosted stack
Bookmark software to try, rate tools you've used, and keep your collection in one place.