Linux

Where Does Gotify Store Database and Config?

Gotify /app/data directory with gotify.db SQLite database plus config.yml on Linux.

Last updated

Gotify keeps its SQLite database, uploaded images and plugin data in /app/data inside Docker, bind-mounted from a host folder you choose. Config comes from config.yml or environment variables.

The database holds users, apps, clients and message history together. Back up the data directory and the whole notification hub restores in one move.

Where Gotify stores this, by platform

Linux
/var/gotify/data

Common host bind for /app/data holding gotify.db, images and plugins. Config lives in config.yml beside the binary or /etc/gotify/config.yml, overridable per variable. Stop the container before copying the database. Binary installs default to ./data next to the executable.

Frequently asked questions

How do I back up Gotify?

Archive the data directory above with the server stopped. The gotify.db file carries users, apps and history together.

Where is the Gotify config file?

config.yml next to the binary, at /etc/gotify/config.yml, or entirely through environment variables. Secrets support _FILE suffixes for Docker secret mounts.

Notice an outdated path? Let us know.