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

Pay with
EN

Self-hosted app·Tasks, kanban and projects

Habitica hosting run your own instance on a Swiss VPS.

Habitica hosting on a Swiss VPS in ALP1: Docker Compose with a MongoDB replica set, sizing, HTTPS, backups and real costs from $12.99/month.

Runs here
  • MongoDB
  • Node.js
  • Docker

ALP1·Swiss Alps

In stock

Recommended for this use case

Cloud VPS · Small appsStandard · 4 vCPU · 4 GB RAM$12.99/mo160 GB NVMe · 15 TB transfer · 1 Gbps
  • 1 Gbps port15 TB of transfer a monthIncluded
  • Debian 13preinstalled with the orderIncluded
  • DDoS protection, 1 IPv4VNC console and full rootIncluded
Per month$12.99/mo

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

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

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

  • 4 vCPU, 4 GB RAM
  • 160 GB NVMe local storage
  • 15 TB transfer on a 1 Gbps port
  • DDoS protection included
  • Swiss jurisdiction, outside the EU

01/05

What Habitica is and who maintains it.

Habitica is a habit tracker and to-do list with a role-playing game on top. Habits, dailies and to-dos earn experience and gold, missed dailies cost health, and a party fights quest bosses by its members doing their real tasks. It started as HabitRPG in 2013 and is developed by HabitRPG, Inc., a US company that also runs habitica.com and the official mobile apps. The code is public on GitHub under GPL-3.0, while the art designed for Habitica is licensed CC BY-NC-SA 3.0. The non-commercial clause on the art comes back below if you are thinking of charging anyone.

Upstream does not publish a production image. Its repository carries development Docker files and points contributors to a local development setup, and since 4 August 2026 it no longer accepts public pull requests, although the code stays open and releases continue. What self-hosters actually run is the awinterstein/habitica fork, which rebases a small set of changes onto each upstream release and pushes server and client images to Docker Hub. Those changes are what make a private instance usable: every user gets a subscription that never expires, gem purchases are replaced by gold, mail goes out through your own SMTP server instead of Mandrill, analytics and payment scripts are not loaded, registration can be limited to invited users, and the first registered user is made admin. The fork's README admits some third-party scripts may still load, so look at your browser's network tab before you describe the instance as free of trackers.

One expectation to correct early: Habitica removed the Tavern and all guilds on 8 August 2023. The fork follows upstream, so self-hosting does not bring them back. You get tasks, parties, challenges and group plans.

02/05

Requirements and sizing.

Habitica needs a Node.js server, a MongoDB database and something to terminate TLS. MongoDB carries the two requirements that break most first attempts. It must run as a replica set, even a single-member one, because Habitica uses multi-document transactions; release 5.48.8 extended them to joining challenges and to adding or removing members of parties and group plans, so a standalone mongod fails on precisely the shared features people self-host for. And on x86-64, MongoDB 5.0 and later require the AVX instruction set, which a virtual CPU only has if the hypervisor passes it through.

Memory goes mostly to MongoDB. Its WiredTiger cache defaults to the larger of 256 MB or half of (RAM − 1 GB), which is 1.5 GB on a 4 GB machine; the compose file below caps it at 1 GB to leave room for Node, Caddy and the page cache. Disk is dominated by the image: the 5.51.0 server image is about 758 MB compressed for amd64, and a small group's database stays small next to it. Traffic barely registers. A theoretical upper bound: 50 people each loading the web client fresh every day, assuming 5 MB per load, comes to about 7.5 GB a month, or 0.05 % of Cloud VPS Standard's 15 TB.

Only ports 22, 80 and 443 need to be reachable from outside. Habitica's port 3000 stays on the loopback interface and MongoDB's 27017 never leaves the Docker network. Outbound, you need 587 (or whatever your mail relay uses) for password resets and invitations.

PlanvCPU / RAM / NVMe / transferPrice per monthFit for Habitica
Starter2 / 2 GB / 80 GB / 10 TB$6.99One person, nothing else on the box.
Standard (recommended)4 / 4 GB / 160 GB / 15 TB$12.99A household or a few friends' parties, with room for Caddy and backup jobs
Pro6 / 8 GB / 320 GB / 20 TB$22.99Larger groups, or Habitica sharing the VPS with other apps

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/05

How to deploy it with us.

  1. 01

    1. Order and check the CPU

    Order Cloud VPS Standard with Debian 13 from this deploy link. We run no-KYC hosting: an email address is enough to open the account. Once you can SSH in, check for AVX before installing anything:

    bash
    grep -o -m1 avx /proc/cpuinfo

    It should print avx. If it prints nothing, MongoDB will stop with an illegal-instruction error on start, and the right move is a support ticket, not an afternoon spent on the compose file.

  2. 02

    2. Install Docker and write the compose file

    Install Docker Engine and the Compose plugin from Docker's own Debian repository, then create /opt/habitica/compose.yaml. It follows the fork's reference file with three changes: a pinned image tag, a cache cap on MongoDB, and port 3000 bound to 127.0.0.1. That last one is the real protection. A port Docker publishes on all interfaces is forwarded before ufw's input rules ever see the packet, so a firewall rule will not save you from "3000:3000".

    yaml
    services: server: image: docker.io/awinterstein/habitica-server:5.51.0 restart: unless-stopped depends_on: mongo: condition: service_healthy environment: - NODE_DB_URI=mongodb://mongo/habitica - BASE_URL=https://habits.example.com # the public URL; mail links are built from it - INVITE_ONLY=false # set to true once your own account exists - EMAIL_SERVER_URL=smtp.example.com - EMAIL_SERVER_PORT=587 - EMAIL_SERVER_AUTH_USER=habitica@example.com - EMAIL_SERVER_AUTH_PASSWORD=change-me - ADMIN_EMAIL=habitica@example.com # sender address ports: - "127.0.0.1:3000:3000" mongo: image: docker.io/mongo:<major-version> # the fork's file uses mongo:latest; pin the major version you run restart: unless-stopped hostname: mongo command: ["--replSet", "rs", "--bind_ip_all", "--port", "27017", "--wiredTigerCacheSizeGB", "1"] healthcheck: test: echo "try { rs.status() } catch (err) { rs.initiate() }" | mongosh --port 27017 --quiet interval: 10s timeout: 30s start_period: 0s start_interval: 1s retries: 30 volumes: - ./db:/data/db - ./dbconf:/data/configdb

    The healthcheck doubles as the replica-set initialiser: on first start rs.status() throws, rs.initiate() runs, and the server waits until the database reports healthy. Start it with docker compose up -d and follow docker compose logs -f server until it settles.

  3. 03

    3. HTTPS, then the first account

    Point an A record at the VPS, install Caddy from Debian's repositories, and give it a Caddyfile that refuses everyone except your current IP address. This is not paranoia: the moment Let's Encrypt issues the certificate, your hostname appears in public Certificate Transparency logs, and scanners read those logs within minutes.

    example
    habits.example.com { @outsiders not remote_ip 203.0.113.7 respond @outsiders 403 reverse_proxy 127.0.0.1:3000 }

    Register your account, which becomes the admin. Then set INVITE_ONLY=true, run docker compose up -d again, delete the two @outsiders lines and systemctl reload caddy. From here, new users join only through invitations.

  4. 04

    4. Back up the database, not the folder

    Copying ./db while MongoDB runs gives you a file set you may not be able to open. Dump instead, and ship the dumps off the machine, for example with restic to an S3-compatible object storage bucket (restic reads the access keys from AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY):

    bash
    docker compose exec -T mongo mongodump --db habitica --archive --gzip \ > /var/backups/habitica-$(date +%F).archive.gz restic -r s3:https://<endpoint>/<bucket> backup /var/backups

    Run it from a systemd timer and restore one dump into a scratch container before you trust it. The daily VPS backup option is a reasonable second layer for the whole system, but the dump is what you restore Habitica from. For upgrades, the fork publishes an image for each upstream release: change the tag, take a dump, then docker compose pull && docker compose up -d.

04/05

What it costs.

ItemPer month
Cloud VPS Standard (4 vCPU, 4 GB, 160 GB NVMe, 15 TB transfer, 1 Gbps)$12.99
Daily VPS backups (+20 %)$2.60
250 GB bucket for off-site dumps (250 GB, no request fees)$1.99
Total with both options$17.58

Yearly billing takes roughly 25 % off the VPS, which puts Cloud VPS Standard alone at $116.99 a year. The plan includes the 15 TB transfer allowance and open outbound port 25; VPS traffic is metered against that allowance, not unmetered. Payment is in crypto only (Monero, Bitcoin, Tether, Ethereum, Litecoin and others), with prices and balances in US dollars. Top-ups run from $25 to $5,000 and carry a bonus from $50 upwards: a $100 top-up becomes $110 of credit, or about eight and a half months of Cloud VPS Standard. The unused paid part of a top-up is refundable within 14 days. Full figures are on the pricing page.

An honest comparison: habitica.com lists its yearly subscription at $47.99 in Apple's store, and prices vary by country. For one person who wants the perks, subscribing is cheaper and pays the people who build the thing. Self-hosting starts to make sense for a household or a group, where every member gets subscriber features, or when the reason is where the data lives rather than the price.

05/05

Limits and your obligations as operator.

Once you invite other people, you are running a service and hold their personal data. Habit lists are more revealing than they look: medication dailies, therapy homework and sobriety streaks are health data, which the revised Swiss Federal Act on Data Protection, in force since 1 September 2023, treats as sensitive personal data. Tell your users what you store, keep the instance patched, and delete accounts when asked. Friends in the EU are covered by the European Commission's finding, confirmed on 15 January 2024, that Switzerland ensures an adequate level of protection, so their data can flow to your server without additional safeguards.

Moving off habitica.com also moves your data from a US company to a Swiss one, Hosta AG. 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 describes one legal route, not a guarantee that no foreign authority can ever reach the data; our offshore hosting page sets out what Swiss jurisdiction covers and what it does not.

Do not sell access to your instance. The code's GPL-3.0 would allow it, but the Habitica art is non-commercial, and a paid instance without that art is no longer much of a Habitica. If you modify the code, GPL-3.0 has no network clause, so running a modified server does not oblige you to publish it; distributing it does.

Party chat and challenge descriptions are user content, and complaints about it reach us like any other. A DMCA notice has no direct legal effect in Switzerland. We forward complete complaints to you, as the customer, and you either remove the content or justify it; we act on a decision of a competent Swiss authority, or where content is manifestly unlawful (Swico Code of Conduct Hosting 2025). Outbound port 25 is open, but send Habitica's mail through a proper relay on 587: mail straight from a fresh VPS address tends to land in spam folders, and bulk mail from it gets the address blocklisted. Our acceptable use policy applies to the whole VPS, and the operating system, Docker and the images are yours to keep updated.

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
StarterStaging, dev22 GB80 GB10 TB / month1 Gbps$6.99/moDeploy Starter
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 keep using the official Habitica mobile apps?

On iOS, yes. Apple's release notes describe a hidden server selector: log out, tap the gryphon logo eight times, switch from Production to Custom and type your instance's address on the login screen. For Android, the app's repository documents building it against your own server by editing its properties file; we have not found an equivalent switch in the store build.

Can I bring my habitica.com account across?

Not as such. Apple's release note says custom servers do not share Habitica's database, so characters and logins do not carry over. You can export your data from habitica.com, but we know of no supported import into a self-hosted instance, so plan on new characters and recreating tasks by hand or through the API.

Do my users get subscriber features?

Yes. The fork gives every account a subscription on registration that never needs renewing, and the places that sold gems for money sell them for gold instead. Group plans can be created without payment.

Is the $6.99 Starter plan enough?

For one person probably, though 2 GB leaves little margin once Docker, MongoDB's cache and Node are running.

Do I need my own domain?

For anything beyond a test, yes. BASE_URL must match the public address because password-reset and invitation links are built from it, and you want TLS in front of a login form. A subdomain of a domain you already own is enough.

What do you need from me to order, and how do I reach you?

No-KYC: an email address is enough, and you pay in crypto. For questions before or after ordering, open a support ticket from the client panel; the FAQ covers billing and account basics. Switzerland Hosting is operated by Hosta AG, société anonyme suisse, IDE CHE-107.875.655, Käppeligasse 1, 4125 Riehen, Switzerland.

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.