# Run Savorum yourself

Source: https://docs.savorum.app/start/getting-started/

> Install Savorum Core on your own computer and open your library.

Savorum Core is the free version of Savorum you run on your own computer or server. It runs in a single container, with the web app and database included. You don’t need a separate database server.

This guide gets your library running on your computer. If you’d rather not install anything, [Savorum Cloud](https://savorum.app/pricing/) is the same library, hosted for you.

## Install and start Savorum

You need [Docker](https://docs.docker.com/get-docker/). The published `documents` image includes PDF and photo import, with English text recognition.

Using a NAS or a container manager? [Enter the container settings in its interface](https://docs.savorum.app/admin/docker/#use-a-nas-or-container-manager). On Unraid, you can [install Savorum from Apps](https://ca.unraid.net/apps/savorum-16270ab1hgxdnj).

1. Start Savorum:

   ```sh
   docker run -d --name savorum \
     --restart unless-stopped \
     --stop-timeout 30 \
     --read-only \
     --tmpfs /tmp:size=256m,mode=1777 \
     --cap-drop ALL \
     --security-opt no-new-privileges:true \
     -e SAVORUM_DNS_SD=false \
     -e XDG_CACHE_HOME=/data/.cache \
     -p 127.0.0.1:8080:8080 \
     --mount type=volume,source=savorum-data,target=/data \
     ghcr.io/savorum/savorum:documents
   ```

2. Open [http://127.0.0.1:8080](http://127.0.0.1:8080/) in your browser.

### About these flags

`--read-only`, `--cap-drop`, and `--security-opt` restrict changes and privileges; `--tmpfs` provides temporary space in memory. The remaining flags preserve your data and cache, keep access local, manage restarts and shutdown, and disable network discovery.

The `documents` tag follows the latest stable release with document tools. A [smaller image](https://docs.savorum.app/admin/docker/#choose-an-image) is available if you don’t need those imports. You can also [pin a release](https://docs.savorum.app/admin/docker/#pin-a-release) if you want to choose each upgrade yourself.

There’s no account to create: Savorum opens straight to your library, ready for your [first recipe](https://docs.savorum.app/guide/first-recipe/). Your recipes and photos are kept in a Docker volume called `savorum-data`, so they’re still there after a restart or container replacement. Keep that volume when you upgrade.

To stop and start it again:

```sh
docker stop savorum
docker start savorum
```

For storage, settings, and upgrades, see [Run Savorum with Docker](https://docs.savorum.app/admin/docker/). You can also [use Docker Compose](https://docs.savorum.app/admin/docker/#use-docker-compose) to keep the same container’s settings in a file.

## Before you share it

The command above allows access only from your own computer, and nobody has to sign in. That’s fine while you try it out. Before anyone else uses it, or you open it from another device:

1. [Turn on sign-in and create an administrator](https://docs.savorum.app/admin/docker/#turn-on-sign-in). Your recipes stay as they are.
2. [Set up secure remote access](https://docs.savorum.app/admin/remote-access/).
3. [Plan your backups](https://docs.savorum.app/admin/backup-restore/).

### Build from source instead

To run Savorum without Docker, you need [Git](https://git-scm.com/), Go 1.27.3 or newer, Node 26.13.0, and pnpm 12.18.0. Replace `vX.Y.Z` with the release tag you want to build:

```sh
git clone --branch vX.Y.Z --depth 1 https://github.com/savorum/savorum.git
cd savorum
pnpm --dir web install --frozen-lockfile
pnpm --dir web run build
go build -o bin/savorum ./cmd/savorum
install -d -m 700 ./data
./bin/savorum serve --database ./data/savorum.db --assets ./data/assets
```

Open [http://127.0.0.1:8080](http://127.0.0.1:8080/). Press Ctrl+C to stop it, and run the last command again to start it. `./bin/savorum healthcheck` checks that it’s running.

## Good to know

- The database and its `assets` folder together make up your library. Don’t copy the database file while Savorum is running. Use the [backup command](https://docs.savorum.app/admin/backup-restore/) instead.
- Don’t keep your data on a network drive.
- For source builds, use a tagged release if you plan to keep your recipes. Tagged releases support library upgrades. Code between releases can change your library in ways that can’t be upgraded.
