Fasten Health logo

Fasten Health

Self-hosted personal and family electronic medical record aggregator

Alternative to: mychart, apple health, commonhealth


Fasten is an open-source, self-hosted personal and family electronic medical record manager that lets you securely aggregate medical data from multiple healthcare providers using the FHIR interoperability standard. It keeps records private on your own server instead of scattered across provider patient portals, with condition-specific dashboards for medications, lab results, immunizations, and more.

Fasten Health Docker Compose example

Self-host Fasten Health on your own server, homelab, or VPS starting from this Docker Compose example. It runs Fasten Health in Docker containers using the official ghcr.io/fastenhealth/fasten-onprem:latest image, with persistent volumes and automatic restarts preconfigured. Review the environment variables and adjust them to your setup, save the file as compose.yml (or docker-compose.yml), and start the stack with docker compose up -d.

services:
  fasten:
    image: ghcr.io/fastenhealth/fasten-onprem:latest
    volumes:
      - db:/opt/fasten/db
      - cache:/opt/fasten/cache
    restart: unless-stopped
    environment:
      # Serve plain HTTP on port 8080 instead of Fasten's built-in self-signed
      # TLS. Fasten runs behind a TLS-terminating reverse proxy here, so its own
      # self-signed certificate is unnecessary and would break HTTP health checks.
      FASTEN_WEB_LISTEN_HTTPS_ENABLED: "false"
      # Secret key used to sign session JWTs. Change this to a long random string
      # before deploying — the upstream default is a well-known placeholder.
      FASTEN_JWT_ISSUER_KEY: "changeme"

volumes:
  db:
  cache:

Values set to changeme are required — replace them with your own values before starting Fasten Health.

Prefer a managed setup? WinterFlow installs, configures, and updates Fasten Health for you using this same Docker Compose configuration.