Repository navigation
Installation
A single application container, with persistent data on your Linux host.
You need Docker Engine with the Compose plugin and a local disk on a Linux server (amd64 / x86-64 or arm64 / aarch64). Run one replica and one worker. Do not put SQLite on NFS or SMB.
-
Download
compose.yamlandenv.examplefrom the same release. -
Prepare the configuration and persistent directories:
cp env.example .env sudo install -d -m 0700 -o 10001 -g 10001 data backups
-
The example selects
ghcr.io/andreaconfa/splitcompanion:1.2.1-rc.2. You can pin the digest from the release instead. Alternatively, build from source. -
Start the application and generate the initial setup code:
docker compose pull docker compose up -d docker compose exec app python -m app.cli setup-token -
Open
http://localhost:8000on the server and create the administrator account. The code expires after 30 minutes and can only be used once. Complete two-factor authentication and store your recovery codes somewhere safe.
The default binding is 127.0.0.1, accessible only on the server. To connect from
a trusted LAN, set SPLIT_COMPANION_BIND to the server's LAN address and recreate
the container. HTTP does not encrypt credentials or data. For Internet access or
a phone PWA, configure your own external HTTPS reverse proxy.
| Host directory | Container path | Contents |
|---|---|---|
./data |
/data |
SQLite database, instance secret, push keys and operational state |
./backups |
/backups |
Complete backup archives |
Choose different absolute host paths in .env if needed. Both directories must
exist and be writable by UID/GID 10001:10001. Do not use chmod 777.
Recreating the container keeps these directories intact. Keep the entire data
directory, not just the .db file: losing the secret prevents MFA recovery.
docker compose exec app python -m app.cli backup-full --output-dir /backups --kind manual
# Set the new image version or digest in .env, then:
docker compose pull
docker compose up -d
docker compose psFor archive-based installations, use docker load instead of pull.
Read the backup and restore guide before downgrading.