Skip to content

Machine-translated – improvements welcome. Suggest an improvement

Any server with Docker

Tested: image automatically, device not yet

GitHub's machines test the image with every change on amd64 and arm64. There is no report from a particular device here yet. What that means is described under Tested platforms.

This page applies to every device without its own guide; there are separate pages for a PC with Linux, the Raspberry Pi, Windows and Proxmox and co.. Ablago needs Docker with Docker Compose. The images are public (amd64 and arm64); signing in to the registry is not necessary.

This page is about two containers (Ablago and PostgreSQL separately), the path for advanced users. To get started, we recommend one container: dms-komplett; the comparison is under One or two containers?.

With the command line

mkdir -p ~/dms && cd ~/dms
curl -fsSLo docker-compose.yml https://raw.githubusercontent.com/motom001/dms/main/deploy/nas/docker-compose.yml
echo "DB_PASSWORD=$(openssl rand -hex 24)" > .env
# Adjust the paths under /volume1/docker/dms in docker-compose.yml to your server, e.g. ./daten
docker compose up -d
docker compose logs app | grep -A1 Einrichtungscode

Then open http://<server>:8080. The wizard asks for the setup code from the log and for the database: server db, port 5432, database and user dms, password from .env.

How the wizard continues: Choose Set up new – or Restore from a backup if you are moving from another device. Then you enter the name of your household and create your account – with your email address and your password; it may administer Ablago. Then you say what you use Ablago for – home, work or both; for work straight away with your organisation. After that you decide what Ablago may do; matching that, Ablago chooses the packages such as text recognition, and optional things like sending email follow. After "Set up now" you receive the key and emergency sheet. Every step has ? Help with pictures at the top right; everything is described in detail in the Administrator manual.

With a Docker interface (Portainer, Dockge, Komodo …)

Take the template deploy/synology/docker-compose.yml as a new stack, enter the password at the top and adjust the paths. This template doesn't need a .env, and the wizard doesn't ask for the database.

Good to know

  • Folders: files, geheim, sicherung and postgres must be on the server (volumes). Otherwise they are gone with the next update. More under Folders and volumes.
  • Updates: docker compose pull && docker compose up -d – this fetches Ablago and PostgreSQL (postgres:18) anew. With a version number instead of main, i.e. ghcr.io/motom001/dms:<version> with a number from the releases, the installation stays on that release. See Updating.
  • Database service with another name: the templates without DATABASE_URL expect the database at db:5432. If your service is called something else or runs on another port, set DMS_DB_HOST and DMS_DB_PORT.
  • Console: for emergencies and operation, the container has the command dms, e.g. docker compose exec app dms hilfe. See Console.
  • Reachable from outside only after the setup, ideally with HTTPS via a reverse proxy: Behind a reverse proxy.