Linux

Where Does Gitness Store Data?

Gitness self-hosted data dirs with env-var config pattern.

Last updated

Gitness keeps database, repos and registry under a data volume. Env vars carry all settings with an optional env file. Docs pin the Docker volume plus database path.

Linux and Docker focused with cross-platform binaries. Not file-configured; files persist data only. Keep data volume plus env file together.

Where Gitness stores this, by platform

Linux
/data/database.sqlite

Database plus repos plus registry in the data volume with env-var settings. Docs pin volumes. No config file by design.

Frequently asked questions

How do I back up Gitness?

Copy the data volume with the container stopped. Database plus repos plus registry travel inside it. Config flows through env vars, so save the env file too.

Where is the config file?

No config file exists by design. Env vars plus optional env-file arg carry settings. Docs pin the data volume with database inside.

Notice an outdated path? Let us know.