New AMD EPYC dedicated servers in the Swiss Alps, from $64.99 a month See servers

Pay with
EN

Self-hosted app·Health and fitness

SparkyFitness hosting on a Swiss VPS.

SparkyFitness hosting in the Swiss Alps: Docker Compose on a $6.99 VPS Starter, sizing, HTTPS, backups and the licence terms you must respect.

Runs here
  • PostgreSQL
  • Node.js
  • Docker
  • Caddy

ALP1·Swiss Alps

In stock

Recommended for this use case

Cloud VPS · Staging, devStarter · 2 vCPU · 2 GB RAM$6.99/mo80 GB NVMe · 10 TB transfer · 1 Gbps
  • 1 Gbps port10 TB of transfer a monthIncluded
  • Debian 13preinstalled with the orderIncluded
  • DDoS protection, 1 IPv4VNC console and full rootIncluded
Per month$6.99/mo

Optional: daily backups +20% · extra IPv4 $2 · priority support $10
Pay yearly: $62.99 a year, about 25% less

Deploy VPS Starter
  • No KYC
  • Crypto only
  • Swiss jurisdiction

ALP1 · Swiss Alps · Our own hardware, under Swiss law, paid in crypto

  • 2 vCPU, 2 GB RAM
  • 80 GB NVMe local storage
  • 10 TB transfer on a 1 Gbps port
  • DDoS protection included
  • Swiss jurisdiction, outside the EU

01/06

Short answer.

Yes. SparkyFitness runs on our Cloud VPS Starter in ALP1, in the Swiss Alps: 2 vCPU, 2 GB RAM, 80 GB NVMe and 10 TB of monthly transfer for $6.99. On paper that is enough for a household that either leaves the AI assistant off or points it at an external model. You install it with Docker Compose on the Debian 13 image we deploy, and you run it yourself as root.

The step that matters most comes before the first docker compose up. If SPARKY_FITNESS_ADMIN_EMAIL is empty, the first person to register becomes administrator, and on a fresh public IP that need not be you. Set the admin email, keep the app bound to localhost behind a TLS proxy, and close sign-ups once your family has its accounts.

02/06

What SparkyFitness is and who runs it.

SparkyFitness is a self-hosted nutrition and fitness tracker, written in TypeScript and maintained on GitHub under the CodeWithCJ account with a sizeable group of outside contributors. It logs food against calorie and macro goals, workouts, water, sleep, fasting, mood, medications and body measurements, with several profiles per instance and family sharing with per-person permissions. Native iOS and Android apps, plus Apple Watch and Wear OS companions, sync to your server. An optional assistant logs meals from chat or photos through whichever model you configure, and an MCP endpoint lets an outside AI client read and write your diary.

Two facts should shape how you run it. The current release is v1.8.0, published on 8 October 2026, and the project says plainly that breaking changes can occur between releases and that auto-updating containers is not recommended. The licence is the second: SparkyFitness is source-available, not open source. Use, modification and distribution are permitted for non-commercial purposes only, and anything aimed at commercial advantage needs the author's prior written permission. The documentation site footer still mentions GPL-3.0; the LICENSE file in the repository is the text that binds you.

Our servers are in Switzerland and answer to Swiss law. We act only on orders from competent Swiss authorities, and a request from abroad has to pass through one of them first.

03/06

Requirements and sizing.

The production Compose file defines three containers. PostgreSQL 18 (postgres:18.3-alpine) holds the data and is not published to the host. The Node.js API (codewithcj/sparkyfitness_server) listens on port 3010 inside the Docker network and applies database migrations at start. An nginx container (codewithcj/sparkyfitness) serves the React front end, proxies /api to the server and is the only service with a published port, 3004. A fourth container for Garmin sync exists but is commented out and marked as work in progress. Everything that persists sits in three directories next to the Compose file: postgresql/, uploads/ for avatars, food and progress photos, and backup/.

Upstream publishes no hardware minimum, so the sizing is ours.

UsePlanMonthly
Household (1–6 people), AI off or via an external APIVPS Starter: 2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB transfer, 1 Gbps$6.99
Larger non-commercial group, Garmin container, many progress photosVPS Standard: 4 vCPU, 4 GB RAM, 160 GB NVMe, 15 TB transfer, 1 Gbps$12.99
A local LLM (Ollama) on the same machineNot on a VPS of this size—

The diary itself is text and grows slowly; photos and the app's own backup exports are what fill the disk, and they share it with the system. Transfer is not the constraint either. VPS traffic counts against the monthly allowance, but even an exaggerated 1 GB a day of phone and watch syncs would be 30 GB a month, 0.3 % of the Starter's 10 TB (theoretical). A language model is a different matter: CPU inference in 2 to 4 GB of RAM is too slow to be useful, so keep the model on other hardware or use an API.

On the network side you need 22 for SSH and 80/443 for the reverse proxy and its Let's Encrypt certificate; 3004 should never be reachable from outside. The server also makes outbound HTTPS calls to food databases and integrations. Outbound port 25 is open on every VPS, so SparkyFitness can send password-reset mail directly, but mail from a fresh IP tends to land in spam, and a relay on port 587 is the better configuration.

04/06

How to deploy it with us.

Order a VPS Starter with Debian 13 through the deploy link. The account is no-KYC: an email address is enough, and you pay in crypto. Point an A record such as fit.example.com at the server's IPv4 before you start, so the certificate is issued on the first attempt.

Install Docker Engine from Docker's repository and Caddy from Debian:

bash
apt update && apt install -y ca-certificates curl openssl caddy install -m 0755 -d /etc/apt/keyrings curl -fsSL https://download.docker.com/linux/debian/gpg -o /etc/apt/keyrings/docker.asc echo "deb [signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian \ $(. /etc/os-release && echo "$VERSION_CODENAME") stable" > /etc/apt/sources.list.d/docker.list apt update && apt install -y docker-ce docker-ce-cli containerd.io docker-compose-plugin

Take the Compose file from the release tag rather than from main, and write the .env yourself. The server refuses to start while template placeholders remain in it, which is the right behaviour.

bash
mkdir -p /opt/sparkyfitness && cd /opt/sparkyfitness curl -L -o docker-compose.yml \ https://raw.githubusercontent.com/CodeWithCJ/SparkyFitness/v1.8.0/docker/docker-compose.prod.yml cat > .env <<EOF SPARKY_FITNESS_FRONTEND_URL=https://fit.example.com SPARKY_FITNESS_DB_PASSWORD=$(openssl rand -hex 24) SPARKY_FITNESS_API_ENCRYPTION_KEY=$(openssl rand -hex 32) BETTER_AUTH_SECRET=$(openssl rand -base64 32) SPARKY_FITNESS_ADMIN_EMAIL=you@example.com SPARKY_FITNESS_TRUSTED_PROXY_HOPS=2 TZ=Europe/Zurich EOF chmod 600 .env

TZ decides which calendar day an entry is filed under, so leave it at UTC only if you live by UTC. TRUSTED_PROXY_HOPS=2 accounts for Caddy sitting in front of the bundled nginx; without it the server attributes every request to the proxy, and per-IP sign-in limits hit the whole household together.

Next, pin the images and keep the front end on the loopback interface. In docker-compose.yml, change both :latest image tags to :v1.8.0 and the frontend's port mapping to "127.0.0.1:3004:80". Docker writes its own firewall rules for published ports, so a port published on all interfaces is reachable from the internet whatever ufw says. Caddy then needs one block in /etc/caddy/Caddyfile:

example
fit.example.com { reverse_proxy 127.0.0.1:3004 }

Reload Caddy, start the stack with docker compose pull && docker compose up -d, and follow docker compose logs -f sparkyfitness-server until the migrations finish. Register with the admin address, create the other accounts, add SPARKY_FITNESS_DISABLE_SIGNUP=true to .env and run docker compose up -d again. The mobile apps connect to https://fit.example.com. If nobody outside your household needs the web interface, you can skip the public proxy and reach the VPS over WireGuard instead; the phones then sync whenever the tunnel is up.

  1. 01

    Backups and upgrades

    The two secrets in .env matter as much as the database. BETTER_AUTH_SECRET encrypts the TOTP keys, and changing it locks every 2FA user out; SPARKY_FITNESS_API_ENCRYPTION_KEY encrypts the stored tokens of your integrations. Back up a pg_dump (never a file copy of a running postgresql/ directory), the uploads/ directory and .env, and keep the copies off the server. Our object storage is a set of S3-compatible buckets, not a disk you attach, so drive it with restic, which encrypts before upload:

    bash
    cd /opt/sparkyfitness docker compose exec -T sparkyfitness-db pg_dump -U sparky sparkyfitness_db | gzip > backup/db-$(date +%F).sql.gz restic -r s3:https://<endpoint>/<bucket> backup backup/ uploads/ .env

    Run it nightly from cron, with AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY and RESTIC_PASSWORD set in the job's environment. Upgrades follow the upstream warnings: read the release notes, take a dump, change the tag, then pull and up -d. A PostgreSQL major version is a dump-and-restore job with its own upstream guide, and v1.6.1 already asked users to move to a newer PostgreSQL, so expect it again.

05/06

Cost.

ItemMonthly
VPS Starter (2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB transfer, 1 Gbps)$6.99
Daily VPS backups, optional (+20 %)$1.40 (calculated)
Object storage, 250 GB S3 bucket, optional$1.99
Extra IPv4 / priority support$2 / $10, not needed here

Starter plus a bucket for restic comes to $8.98 a month; adding the daily snapshot option makes it $10.38 (both calculated). Yearly billing takes roughly 25 % off the VPS, which puts the Starter near $5.25 a month (theoretical). The price includes full root, a 1 Gbps port, the 10 TB monthly transfer and open outbound port 25; the complete list is on the pricing page. Payment is crypto only (Monero, Bitcoin, Tether (USDT), Ethereum, Litecoin and other coins), with top-ups from $25 to $5,000. A $25 top-up covers about three and a half months of Starter at the monthly rate (theoretical: 25 / 6.99 = 3.58). Top-ups earn a bonus from 5 % at $50 up to 20 % at $500, and the unused paid part is refundable within 14 days.

What you do not get is a managed SparkyFitness. We keep the hypervisor and the network running; patching the app, PostgreSQL and Debian is your job. If you would rather someone else did that, the upstream README lists managed hosts, and for some readers that is the better choice. Questions before ordering go through a support ticket from the client panel, and the FAQ covers billing.

06/06

Limits and acceptable use.

The licence is the first limit, and it is yours to respect rather than ours to enforce. A coach, gym, physiotherapy practice or app business running SparkyFitness for paying clients needs written permission from the author before it starts; under the licence text, a breach terminates your right to use the software.

Health data are sensitive personal data under the revised Federal Act on Data Protection (FADP), in force since 1 September 2023. A private household instance arguably falls under the exemption for data processed by a natural person exclusively for personal use; an instance for a club or for clients does not, and then you are the controller, with the duties that come with it. If some of your users live in the EU, the European Commission's review of 15 January 2024 confirmed that Switzerland still offers an adequate level of protection, so their data can come here without additional safeguards.

Keep public sign-ups closed. Every account can upload photos, and what your users upload is your responsibility as our customer. A DMCA notice has no direct legal effect in Switzerland. We forward complete complaints to you, and you remove the content or justify it; we act ourselves on a decision of a competent Swiss authority, or where content is manifestly unlawful, in line with the Swico Code of Conduct Hosting 2025. Leave the ALLOW_PRIVATE_NETWORK_AI and ALLOW_PRIVATE_NETWORK_FOOD_PROVIDERS switches off on any instance with users you do not fully trust: upstream warns that they let any registered user make your server send requests into private networks. The general rules of our acceptable use policy apply as well.

Hosting in ALP1 protects what is on the server and nothing beyond it. Data you sync from Garmin, Apple or Google already sits with those companies, and meal photos sent to a US AI API leave Switzerland as soon as the assistant processes them. If that is the part you care about, leave the assistant off or point it at a model you run yourself.

Catalogue·Options

Every configuration, every option, every price.

Six cloud VPS plans on AMD EPYC with local NVMe. Transfer is included on every plan, from 10 TB to 100 TB a month.

Six cloud VPS plans in ALP1 · transfer included on every plan

PlanvCPUMemoryNVMeTransferPortPriceDeploy
StandardSmall apps44 GB160 GB15 TB / month1 Gbps$12.99/moDeploy Standard
ProProduction68 GB320 GB20 TB / month1 Gbps$22.99/moDeploy Pro
PowerHeavy workloads1216 GB640 GB40 TB / month2 Gbps$42.99/moDeploy Power
UltraDatabases1632 GB1000 GB60 TB / month2 Gbps$65.99/moDeploy Ultra
SummitDense hosts3264 GB2000 GB100 TB / month5 Gbps$119.99/moDeploy Summit

Every plan runs on AMD EPYC with local NVMe. Yearly billing costs about 25% less.

Every plan

  • AMD EPYCon every host
  • Local NVMenot network storage
  • DDoS protectionalways on
  • 1 IPv4 addressmore at $2 each
  • VNC consoleand full root access

Options and upgrades · prices per month

OptionWhat you getPrice
Daily backupsSnapshots of the whole VPS+20%
Extra IPv4Per address, up to 64+$2.00
Priority supportPer VPS+$10.00
Longer billingPay quarterly or yearly−10% / −25%
Dedicated serverWhen a VPS is no longer enough: 10 Gbps, unmetered trafficfrom $64.99

FAQ

Questions people ask first.

Short answers about running this in ALP1. If yours is not here, open a ticket from your panel.

Still unsure?

Tickets go straight to the people who run ALP1.

Contact support
Can I use the AI assistant on the $6.99 plan?

Yes, as long as the model runs elsewhere. SparkyFitness talks to OpenAI-compatible APIs and several named providers, and the VPS only relays the requests. Running Ollama on the same 2 GB machine will not work in any useful sense. Chat messages and food photos go to whichever provider you configure, so choose it with the same care as the host.

Do I have to expose SparkyFitness to the internet?

No. With the front end bound to 127.0.0.1, you can reach it through a WireGuard tunnel and publish nothing but SSH. The mobile apps still need a route to the server, so they sync whenever the phone's tunnel is up. A public Caddy proxy is simpler for a family; a VPN leaves a smaller attack surface around health data.

May I run it for my coaching clients?

Not without the author's written permission, because the licence restricts use to non-commercial purposes. With permission, you also take on the duties of a controller for your clients' health data under the FADP, which no hosting plan does for you.

How do I upgrade safely?

Pin the image tag, read the release notes, take a pg_dump, then change the tag and run docker compose pull && docker compose up -d. Leave Watchtower and other auto-updaters out of this stack; upstream advises against them because releases can contain breaking changes.

Can I mount object storage as a disk for the database?

No. Our object storage consists of S3-compatible buckets with an endpoint and access keys, billed by size with no request fees. Use it as a backup target through restic or rclone, and never put PostgreSQL on an rclone mount.

Can US authorities reach data on a server in ALP1?

The server is operated by Hosta AG, a Swiss société anonyme (IDE CHE-107.875.655, Käppeligasse 1, 4125 Riehen). As of 31 October 2026 the US Department of Justice lists CLOUD Act executive agreements only with the United Kingdom and Australia, none with Switzerland. That does not put the data beyond every authority: we act on decisions of competent Swiss authorities. The offshore hosting page explains the jurisdiction in more detail.

Sources

Every fact on this page, with its source

Accessed 4 Nov 2026 unless noted.

ALP1·Swiss Alps

Your server in the Alps, ready when you are.

Cloud VPS start at $6.99 a month and are usually set up within minutes of your order.