Skip to content

Before you start

Running a Fedisport server means looking after people's training data: where they go, when, and (if they allow it) their heart rate. It's very doable for a club or a family, and these pages walk you through it.

What you need

Minimum Comfortable
Memory 4 GB 8 GB
CPU 2 cores 4 cores
Disk 20 GB 40 GB+, SSD
  • Two domain names: one for the site (run.example), one for sign-in (auth.run.example).
  • A reverse proxy for TLS (nginx, Caddy, Traefik), passing X-Forwarded-For and X-Forwarded-Proto, and allowing large uploads (Strava archives can be 4 GB).
  • An email account (SMTP), for password resets, invitations and address checks.
  • Docker with compose, or a Kubernetes cluster.
  • Somewhere for backups that isn't the server: any S3-compatible storage.

How it fits together

Container What it does
web the site and the ActivityPub endpoints (one async process)
worker background jobs: parsing uploads, imports, deliveries to other servers, maps
db PostgreSQL with PostGIS: Fedisport's data and Keycloak's
keycloak sign-in: passwords, passkeys, two-factor, email
migrate, keycloak-setup run on every start: database migrations, Keycloak's realm

Scale by running more web or worker containers, not by more processes in one.

Your responsibilities

  • Privacy notice: Fedisport comes with terms and a privacy notice written to follow the GDPR. Fill in who you are (Admin → Terms & privacy) and have it checked for your situation.
  • Backups that are tested (see Backups), and a copy of FEDISPORT_KEY_ENCRYPTION_KEY somewhere safe: without it, nothing stored can be read.
  • Upgrades when a security fix is out: join the network to hear about it.
  • Moderation: see Moderation.