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

Pay with
EN

Self-hosted app·Monitoring and notifications

Gotify hosting on a Swiss VPS.

Gotify hosting on a Swiss VPS in ALP1: Docker Compose for Gotify 3.1, Caddy for TLS and WebSockets, sizing and prices. Pay in crypto.

Runs here
  • Go
  • SQLite
  • Docker
  • Caddy

ALP1·Swiss Alps

In stock

Recommended for this use case

Cloud VPS · ProductionPro · 6 vCPU · 8 GB RAM$22.99/mo320 GB NVMe · 20 TB transfer · 1 Gbps
  • 1 Gbps port20 TB of transfer a monthIncluded
  • Debian 13preinstalled with the orderIncluded
  • DDoS protection, 1 IPv4VNC console and full rootIncluded
Per month$22.99/mo

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

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

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

  • 6 vCPU, 8 GB RAM
  • 320 GB NVMe local storage
  • 20 TB transfer on a 1 Gbps port
  • DDoS protection included
  • Swiss jurisdiction, outside the EU

01/06

Short answer.

Yes. Gotify runs on any of our Cloud VPS plans in ALP1, in the Swiss Alps, and Gotify by itself fits on the smallest one. We recommend the Cloud VPS Pro (6 vCPU, 8 GB RAM, 320 GB NVMe, 20 TB monthly transfer, $22.99/month) for a setup where Gotify is the alerting end of a small monitoring box that lives outside the infrastructure it watches. The part that decides whether it works is the reverse proxy: Gotify delivers messages over a long-lived WebSocket, and a proxy that drops the Upgrade header or closes idle connections gives you a server that accepts every message and a phone that shows none of them.

Deploy a Cloud VPS Pro with Debian 13

02/06

What Gotify is and who runs it.

Gotify is a self-hosted push notification server written in Go. A script or service sends a message with one HTTP POST to its REST API, and connected clients receive it in real time over a WebSocket. The project ships the server with a built-in web UI, a command-line sender (gotify/cli) and an Android app available from F-Droid, Google Play and the GitHub releases page. Development happens in the open in the gotify organisation on GitHub. The current server release, checked on 4 November 2026, is v3.1.1, published on 15 September 2026.

Version 3 changed enough that anyone coming from 2.x should read the migration guide before pulling the new image. v3.0.0 (18 July 2026) dropped config.yml in favour of environment variables or an env file, stopped returning application and client tokens anywhere except at creation or rotation, stores tokens hashed, and added OpenID Connect login and session elevation for sensitive actions. Scripts that read tokens back from the API, or call admin endpoints with a client token, stop working after the upgrade. v3.1.1 is a security release that requires an elevated session to create users (advisory GHSA-phfm-q6fr-wv34), which is reason enough to pin the version and follow the release notes.

The people who run Gotify are mostly operators wiring alerts out of their own systems. Uptime Kuma and Proxmox VE both offer Gotify as a notification target, Watchtower and other tools built on the shoutrrr library can post to it, and a one-line curl covers cron jobs, backup scripts and CI pipelines. Each sender is registered as an "application" with its own token, so a token that leaks from one script can be rotated without touching the rest.

Two limits are worth knowing before you deploy. There is no official iOS client: the third-party iGotify app needs a companion assistant service running next to your server, and the last hop to the phone goes through Apple's push service, because iOS does not let an app keep its own connection open in the background. Gotify also stores message bodies in its database as it receives them; tokens are hashed since v3, but message content is not encrypted at rest, so keep passwords and keys out of your alerts.

push.example.com
Gotify's web interface listing messages pushed by three applications: a finished backup, a reboot notice and an SSH login alert
Gotify, from the project's README on GitHub (gotify/server, MIT licence).

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.

Gotify is one static Go binary with the UI embedded, and its default database is a single SQLite file. It needs one TCP port for HTTP, which we bind to loopback, and a reverse proxy on ports 80 and 443 for TLS.

Transfer is not the constraint. The server sends a WebSocket ping every 45 seconds by default. Assuming about 150 bytes on the wire per ping and pong, TCP and TLS overhead included, one idle client costs 1,920 exchanges a day, roughly 8.6 MB a month. On the Pro plan's 20 TB that is room for over two million idle client-months before keepalives alone used up the allowance (theoretical calculation, not a measurement). VPS transfer is metered per plan, but Gotify will not come near it.

The sizing decision is therefore about what runs next to Gotify:

SetupPlanResourcesPrice/month
Gotify alone, a few senders and phonesCloud VPS Starter2 vCPU, 2 GB RAM, 80 GB NVMe, 10 TB transfer, 1 Gbps$6.99
Gotify with Uptime Kuma, a reverse proxy and a metrics stackCloud VPS Pro (recommended)6 vCPU, 8 GB RAM, 320 GB NVMe, 20 TB transfer, 1 Gbps$22.99

Our reason for the Pro is placement rather than load. An alerting server should not share a machine, a network or a power feed with the systems it reports on, or it goes quiet at the exact moment you need it. The 8 GB are for that monitoring stack; Gotify itself will use a small fraction of them.

04/06

How to deploy it with us.

The steps below assume a domain you control; we use push.example.com.

  1. 01Order the VPS with Debian 13 from the deploy link above. An email address is enough to open the account (no-KYC hosting), and payment is in crypto.
  2. 02Create a DNS A record for push.example.com pointing at the VPS's IPv4 address.
  3. 03Install Docker Engine and the Compose plugin from Docker's own Debian repository, following Docker's installation page for Debian, then install Caddy from Debian with apt install caddy.
  4. 04Create the Gotify directory, a generated admin password and the Compose file.
bash
mkdir -p /opt/gotify && cd /opt/gotify head -c 24 /dev/urandom | base64 | tr -d '\n' > admin_pass chmod 600 admin_pass
yaml
# /opt/gotify/compose.yaml services: gotify: image: gotify/server:3.1.1 restart: unless-stopped network_mode: host environment: TZ: Europe/Zurich GOTIFY_SERVER_LISTENADDR: 127.0.0.1 GOTIFY_SERVER_PORT: 8080 GOTIFY_SERVER_TRUSTEDPROXIES: 127.0.0.1/32 GOTIFY_SERVER_SECURECOOKIE: "true" GOTIFY_REGISTRATION: "false" GOTIFY_DEFAULTUSER_PASS_FILE: /run/secrets/admin_pass secrets: - admin_pass volumes: - ./data:/app/data secrets: admin_pass: file: ./admin_pass

Host networking with a loopback listen address is deliberate. Gotify binds to 127.0.0.1:8080 and nothing else, so no Docker-published port can slip past your firewall rules, and Caddy's requests arrive from 127.0.0.1, which is the address Gotify trusts for X-Forwarded-For. Every Gotify setting accepts a _FILE suffix, which keeps the admin password out of the Compose file; it is applied only when the database is first created, so change it later in the web UI, not here.

  1. 05Point Caddy at it and start both.
example
# /etc/caddy/Caddyfile push.example.com { reverse_proxy 127.0.0.1:8080 }
bash
systemctl reload caddy docker compose up -d

Caddy obtains a Let's Encrypt certificate and proxies WebSockets without extra directives. Gotify can also terminate TLS itself, but a separate proxy lets Uptime Kuma and anything else share port 443. If you prefer nginx, the upstream example sets the Upgrade and Connection headers, preserves Host (Gotify compares it with the Origin of WebSocket requests) and uses a one-minute read timeout. Keep that timeout above the 45-second ping period; if you raise the ping period past the proxy's timeout, every client disconnects once per cycle.

  1. 06Log in as admin with the contents of admin_pass, create an application, and copy its token at once, because v3 shows it only once. Then send a test message:
bash
curl "https://push.example.com/message" \ -H "X-Gotify-Key: <apptoken>" \ -F "title=Backup" -F "message=Nightly job finished" -F "priority=5"

Pass the token in the header, as above, rather than as ?token= in the URL; query strings end up in proxy and shell history. On Android, exclude Gotify from battery optimisation or the system will kill its connection; the persistent "connected" notification can be minimised on Android 8 and later.

Everything worth keeping is in /opt/gotify/data. For a consistent copy of the live SQLite file, install sqlite3 on the host and run sqlite3 data/gotify.db ".backup /var/backups/gotify.db", then ship that file with restic to an object storage bucket through its S3 endpoint. To upgrade, change the image tag, read the release notes, and run docker compose pull && docker compose up -d. Be sparing with plugins: they are compiled Go shared objects that must match the server's Go toolchain and dependency versions, so each server upgrade means rebuilding every one of them.

05/06

Cost.

LinePrice
Cloud VPS Pro$22.99/month
Daily backups option (+20 %)+$4.60, so $27.59/month
Yearly billing (about −25 %)$206.99/year, roughly $17.25/month (theoretical)
Extra IPv4$2/month each
Priority support$10/month
Object storage for restic, 250 GB$1.99/month

The plan includes its 6 vCPU, 8 GB RAM, 320 GB NVMe and 20 TB of monthly transfer at 1 Gbps, an IPv4 address, and outbound port 25, which is open on every VPS and lets Uptime Kuma send email alerts alongside Gotify. For a single SQLite file, restic to a 250 GB bucket is the cheaper backup; the daily backup option earns its 20 % when the same box carries a monitoring stack you would rather not rebuild by hand. All plans and options are on the pricing page.

Payment is in crypto only (Monero, Bitcoin, Tether (USDT), Ethereum, Litecoin and other coins), with prices and balances in US dollars. Top-ups run from $25 to $5,000; a $100 top-up carries a 10 % bonus, giving $110 of balance, about 4.8 months of Pro at the monthly rate (theoretical). The unused paid part of a top-up is refundable within 14 days.

06/06

Limits and acceptable use.

Gotify is meant for notifications to people who asked for them, usually you and your team. Running a public instance with open registration makes you the operator of other people's accounts and messages, which is why the Compose file keeps GOTIFY_REGISTRATION off. The usual VPS terms apply: spam, phishing and attacks launched from the machine are not permitted, and the open port 25 does not change that (our acceptable use policy).

Your obligations as the customer are concrete. Replace the upstream default credentials (admin/admin, which the generated password above avoids), keep TLS in front of the server, update the image when a security advisory appears, and treat what flows through your alerts as data you are responsible for. If notifications carry personal data about third parties, such as customer names or order details, you are the controller under the revised Swiss Federal Act on Data Protection (FADP), in force since 1 September 2023, and we provide the machine it runs on.

A DMCA notice has no direct legal effect in Switzerland. We forward complete complaints to the customer, who must remove the content or justify it, and we act on a decision of a competent Swiss authority, or where the content is manifestly unlawful (Swico Code of Conduct Hosting 2025). For a private Gotify server this rarely comes up, since messages are not public; a public instance and its uploaded application images are where it could.

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
StandardSmall apps44 GB160 GB15 TB / month1 Gbps$12.99/moDeploy Standard
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
Do I need Docker to self-host Gotify?

No. Gotify publishes a static binary for linux-amd64 and other platforms in its GitHub releases. Unzip it, run ./gotify-linux-amd64 serve under systemd (the project documents a unit file), put the settings in /etc/gotify/server.env, and point Caddy at it. Docker gives you pinned versions and one-command upgrades; the bare binary saves a container runtime on a small box.

Will notifications reach my iPhone?

Not through an official app, because there isn't one. The third-party iGotify app works with a companion "Notification Assistant" service that you run next to Gotify, and delivery to the phone passes through Apple's push service.

SQLite or PostgreSQL?

SQLite, unless you already run PostgreSQL or MySQL and want Gotify inside the same backup and monitoring routine. Gotify writes one row per message and reads little, which is the workload SQLite handles best, and the whole instance stays one directory to back up. If you do switch, the database and user must exist before first start, and PostgreSQL without SSL needs sslmode=disable in the connection string.

I run Gotify 2.x elsewhere. How do I move it here?

Stop the old server, take a copy of its data directory (the database and the images folder) and place it in /opt/gotify/data on the new VPS. Convert your old config.yml with gotify-server migrate-config config.yml > gotify-server.env, or the Docker variant in the migration guide, and carry the resulting variables into the Compose file. Existing application and client tokens (starting with A and C) keep working; scripts that list tokens through the API do not. Keep the original copy until v3.1.1 has started cleanly on the migrated data.

Does hosting in Switzerland keep my notifications away from foreign authorities?

It changes which law applies, not whether law applies. A VPS in ALP1 is operated by Hosta AG, a Swiss société anonyme, under Swiss law, and we act on decisions of competent Swiss authorities. On 15 January 2024 the European Commission confirmed that Switzerland still provides an adequate level of data protection, so EU-based teams can keep personal data here without additional safeguards. 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, and the revised Swiss surveillance ordinance (VÜPF/OSCPT) put to consultation on 29 January 2025 is not in force, with a second consultation announced. None of this covers the hops outside our network: the machines that send to Gotify, and Apple's push service if you use iGotify. The offshore hosting page covers the jurisdiction in more detail.

Sources

Every fact on this page, with its source

Checked 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.