Life without the panel
Windlass is deliberately removable from the application runtime path. Docker keeps containers running and Caddy keeps its active configuration when the Windlass process stops.
Files on disk
Section titled “Files on disk”/var/lib/windlass/├── projects/<name>/│ ├── compose.yaml # authoritative Compose configuration│ ├── .env # authoritative dotenv values, mode 0600│ ├── .windlass.json # Git/source/domain metadata used for index rebuilds│ └── ... # source and application files├── data/│ ├── windlass.db # platform state and rebuildable indexes/caches│ ├── secret.key # encryption key, mode 0600│ ├── session.key # session-signing key, mode 0600│ └── windlass.lock # held while Windlass runs├── backups/ # local project archives└── plugins/ # optional plugin directoriesOperate a stack directly
Section titled “Operate a stack directly”cd /var/lib/windlass/projects/myappsudo docker compose -p myapp configsudo docker compose -p myapp pssudo docker compose -p myapp logs -f websudo docker compose -p myapp up -d --remove-orphanssudo docker compose -p myapp downThese are the same files and Compose project name Windlass uses. A hand edit is visible in the
Files/Environment screens on their next read, and the next deployment uses it directly. A
manual docker compose up -d updates containers immediately; Windlass reads live container
state rather than overwriting the file from SQLite on the next deployment.
Private images
Section titled “Private images”A project that pulls from a private registry needs the host authenticated, or
docker compose pull fails with unauthorized whether or not Windlass is
running.
Windlass applies stored registry credentials with a real docker login, at
startup and again before every pull, so the credential lives in a Docker config
file on the host rather than inside the panel. That is deliberate: holding it only
in Windlass would make the panel required to start your applications, which is
the one thing it promises not to be.
Set one in Settings, Registries, or by hand without the panel:
echo "$TOKEN" | sudo docker login ghcr.io --username <user> --password-stdinThe two land in different files. Windlass runs docker login as the windlass user,
so its credentials are in /var/lib/windlass/.docker/config.json. sudo docker login
writes root’s, /root/.docker/config.json. Removing Windlass leaves both behind. To use
the panel’s credentials as root, point Docker at its config with
DOCKER_CONFIG=/var/lib/windlass/.docker, as below.
Check the promise holds
Section titled “Check the promise holds”With the panel stopped, a project must still pull and start:
sudo systemctl stop windlasscd /var/lib/windlass/projects/myappsudo DOCKER_CONFIG=/var/lib/windlass/.docker docker compose -p myapp pullsudo docker compose -p myapp up -dsudo systemctl start windlassIf the pull fails with unauthorized, Windlass has no credential for that
registry and no deployment will succeed either. A credential added with
sudo docker login is in root’s config instead, so drop DOCKER_CONFIG=... to test that
one.
Rebuild the application index
Section titled “Rebuild the application index”If windlass.db is replaced with a new database, claim the instance again with the setup
token from the log and choose Scan directory on the Projects page. Windlass discovers
directories containing compose.yaml or compose.yml, reads .windlass.json, imports
.env, and rebuilds project/domain indexes. Running containers are unaffected throughout.
The following are platform state and cannot be reconstructed from project files: users,
sessions, API tokens, audit history, deployment/event history, jobs, backup
records/schedules, settings, plugin enablement, and encrypted Git, registry, S3 and OAuth
credentials. Back up the complete data
directory when those records matter.
Caddy without Windlass
Section titled “Caddy without Windlass”Windlass-owned objects can be inspected through the loopback Caddy admin API:
curl http://127.0.0.1:2019/id/windlass_routescurl http://127.0.0.1:2019/id/windlass_panel_routeApplication routes and the panel route remain in Caddy’s active in-memory configuration when Windlass stops. A Caddy reload or restart loads the administrator’s own config file, which drops them. While Windlass runs it checks for its routes every 30 seconds and puts them back, so a reload costs at most that long. If Caddy restarts while Windlass is stopped, the sites it routes are offline until Windlass starts again, unless Caddy runs with the installer’s resume drop-in, which keeps them. If Windlass has been permanently removed, remove that drop-in first (see Caddy restarts and reboots), because while it exists Caddy ignores edits to the Caddyfile; then add any routes that must survive Caddy restarts to the Caddyfile.
To remove only Windlass-owned routes manually:
curl -X DELETE http://127.0.0.1:2019/id/windlass_routescurl -X DELETE http://127.0.0.1:2019/id/windlass_panel_routeUnrelated Caddy objects are not touched.
Secrets
Section titled “Secrets”Compose requires .env values in plaintext on disk, protected by filesystem ownership and
mode 0600. The encrypted SQLite environment copy is a cache, not the source of truth. Git,
registry, OAuth, TOTP, and S3 credentials remain encrypted platform state and need
secret.key for recovery.
Project backups
Section titled “Project backups”Local backups are ordinary archives under /var/lib/windlass/backups. Restore through the UI,
or inspect/extract one with standard archive tools. Windlass attempts a native SQL dump for
any project with a PostgreSQL, MySQL or MariaDB container, recognised by service or image
name, before archiving; failure of that best-effort dump does not prevent the filesystem
archive.
An archive ending in .tar.gz.age is encrypted with age. Decrypt it to a file with the
matching secret key, extract it only if age succeeds, then delete the decrypted copy:
age -d -i windlass-backups.key -o backup.tar.gz shop-20261130-020000-abc.tar.gz.age && tar -xzf backup.tar.gz -C restore/rm -f backup.tar.gzDo not pipe age -d straight into tar. age checks the archive piece by piece and exits
with an error at the first piece that was changed, so a pipe can extract files from a
tampered archive before the error. With -o and &&, nothing is extracted unless the whole
archive checked out. A failed age can leave part of backup.tar.gz behind, which is why
the rm runs either way.
age is a single binary from https://age-encryption.org, or your package manager. Without
the secret key the archive cannot be opened.