gotify¶
Gotify, the self-hosted push-notification server, as its project publishes it, for a dotdash relay's or server's site. Visitors and probes that open the domain find its login page, the same page as on the 1,300 or so other Gotify servers Shodan counted by page title in November 2026, rather than an app only dotdash sites run.
Nothing of this repository is in it: the image is upstream's, unmodified, pinned by tag and digest in bundle/manifest.yaml, with upstream's look. Renovate proposes each new upstream release. The bundle sets only what gives its one account a password of yours, and joins the site's network.
It used 13 to 16 MiB of memory idle and at most 25 MiB under 30 failed sign-ins on a test machine (limit 64 MiB), keeps a SQLite file in its volume, and runs on amd64 and arm64. The image is 143 MB unpacked.
The account¶
Gotify has one account from the start, admin, whose password upstream
reads from its environment when it creates its database, and which is
admin if none is given. Here the container's command reads it from the
admin_password secret and refuses to start without one, so the account
never has upstream's default. To change the password later, sign in and
change it in the app: a new admin_password changes nothing once the
database exists.
What a stranger can reach¶
- The login page, at
/, titled "Gotify", as on any install. - What every install answers anyone:
/version(the version, its commit and build date), and/health. Those name the version, so keep it current (below). - No registration: off, as upstream ships it (
GOTIFY_REGISTRATION). Every other API answers 401. - No limit on sign-in tries, as upstream has none: the password's length is what holds. Make it long and random.
What it calls out to¶
Nothing: on a test machine, it looked up no name in 12 minutes. Upstream calls out only for OIDC sign-in and Let's Encrypt, both off unless set, and neither is.
Pair it with a relay¶
Every relay has a site, on dotdash relay 0.29 or later (0.28 needed the
own-site profile): a Caddy on the Docker network dotdash-relay_edge,
which serves the relay's domain. gotify joins that network as gotify, so
the relay's cover parameter points at http://gotify:8080. Caddy then
passes the app every request except subscriptions, XHTTP and your own files
in /srv/dotdash-relay, which take precedence over the app: keep that
directory empty, or a stranger finds files no Gotify has.
Its log names the visitor the site in front names in X-Forwarded-For,
taken only from a private address, and only the containers on the site's
network reach it.
It also runs on a server: there, set network=dotdash_edge and use
--product dotdash for the server's cover.
Install¶
The relay goes first, dotdash relay 0.29 or later, because it creates the network the app joins.
sudo morzer init --release oci://ghcr.io/morzecrew/dotdash-utils/gotify:stable
sudo morzer --product gotify secret set admin_password # the account's password
sudo morzer --product gotify apply
sudo morzer --product gotify status # wait for healthy
sudo morzer --product dotdash-relay config set cover=http://gotify:8080
init prints the release's signing key and trusts it from then on. To check
even this first release, add --signing-key with the release key
this repository publishes.
morzer undoes the last config set if the site cannot reach the app, so run
it only once status shows the app healthy. With two installations on the
machine, every morzer command names the one it means with --product;
sudo morzer shell gotify opens a shell where commands mean this one.
Parameters¶
| Parameter | Default | What it does |
|---|---|---|
network |
dotdash-relay_edge |
The site's Docker network: dotdash-relay_edge on a relay, dotdash_edge on a server. It must exist before the app is applied. |
| Secret | What it is |
|---|---|
admin_password |
The password of the account admin, read when Gotify first creates its database. Anyone can try it, with no limit: make it long and random, such as openssl rand -base64 24 gives. |
Updating¶
/version tells anyone the version, so an install left behind becomes a
rare value, and soon a vulnerable one. Each upstream release reaches a relay
in three steps: Renovate's pull request moves the pin (merge it once its
smoke install passes), main publishes the bundle on the dev channel, and a
release tag puts it on stable. Then, on each machine:
sudo morzer --product gotify update # the newest stable release
Gotify migrates its database forward as it starts, and an older release
doesn't promise to start on it, so rollback refuses: the way back is the
backup morzer took before the update, which the refusal names
(morzer restore).
To remove it, point the site back at its own page first, then remove the
installation. installation list shows its id. The data volume stays unless
you add --purge:
sudo morzer --product dotdash-relay config set cover=pages
sudo morzer --product gotify installation remove --force --confirm <its inst_… id>