Skip to content

Install RailKeeper ​

Choose where your collection will live: a Windows PC or your own server. RailKeeper needs no cloud service. For self-hosted installations, connect to the application in a browser.

Windows: no additional installation ​

  1. Open GitHub Releases and download the Windows x64 ZIP for your chosen version.
  2. Extract the entire ZIP into its own application folder.
  3. Open Start RailKeeper.exe in File Explorer. Use start-railkeeper.bat for older packages.
  4. Create your administrator on first access. There is no default password.
  5. Check the active data folder under Settings > General > Storage usage.

The default is %LOCALAPPDATA%\RailKeeper\data, outside the replaceable application folder. An old data folder next to the EXE is migrated according to the update safety rules. Do not combine databases.

In packages with WebView2, only Start RailKeeper.exe opens the dedicated RailKeeper window. RailKeeper.exe runs the server. Close the application window with X or Alt+F4. The minimized console closes once RailKeeper has exited. If WebView2 is missing, install the Evergreen Runtime from Microsoft or run start-railkeeper.bat in a terminal to open RailKeeper in your default browser. For browser-based starts, including older packages, press Ctrl+C in the console to exit.

Docker: on your computer or server ​

Git and Docker Compose are required. The Compose file initially binds the service to the local computer only.

Docker builds support AMD64 and ARM64, including Raspberry Pi with a 64-bit ARM operating system. 32-bit ARM is not supported. Docker selects the architecture automatically; remove any platform: linux/amd64 override on ARM64. Stable images include ARM64 starting with v0.1.22, both through latest and versioned release tags. Older release tags remain unchanged.

sh
git clone https://github.com/ichwars/RailKeeper.git
cd RailKeeper
docker compose pull
docker compose up -d

Open http://localhost:8080 on that computer and create your administrator. Persistent data lives in the railkeeper_data volume, mounted at /data inside the container. Retain that volume when replacing the application.

Access from other devices ​

The operator must configure network or reverse-proxy access explicitly. Use HTTPS and the matching public URL for network access. Secure cookies require HTTPS; an intentionally local HTTP test needs matching cookie settings. Keep authentication and role checks enabled when troubleshooting connectivity.

SettingPurpose
RAILKEEPER_DATA_DIRPersistent data folder, outside replaceable application files
RAILKEEPER_PUBLIC_URLUser-facing address, also used for password-reset links
RAILKEEPER_COOKIE_SECUREDefault auto: secure cookies for a configured public HTTPS URL; true/false remain explicit overrides
RAILKEEPER_LOGIN_PARALLELActive password operations, default 2, range 1–4; allow up to 256 MiB per operation
RAILKEEPER_LOGIN_QUEUEBounded waiting slots, default 8, range 0–64
RAILKEEPER_LOGIN_WAIT_MSMaximum wait, default 1000 ms, range 0–2000; 0 rejects immediately
RAILKEEPER_LOGIN_MEMORY_MBActive password-work budget, default 512 MiB, range 256–1024; at least parallelism × 256, plus process/GC headroom
RAILKEEPER_TRUSTED_PROXY_CIDRSOnly your own trusted proxy networks

The full configuration for TLS, upload limits, SMTP, OCR and printers is in the production runbook. Next: your first vehicle and backups.

Verify first browser setup ​

First-run setup on an actually empty local installation.
The real empty demo requires its own first administrator. This shows browser setup, not Windows installation or Docker commissioning. Captured with RailKeeper v0.3.0.

First read the one-use code from setup-code.txt in the server's local data folder. For Docker: docker compose exec railkeeper cat /data/setup-code.txt. Windows Standalone defaults to %LOCALAPPDATA%\RailKeeper\data; an explicitly configured data folder takes precedence. The code never appears in public status responses, application backups or diagnostic exports.

Enter the code, your own username, valid email and a password of at least twelve characters with confirmation. Successful setup consumes the code atomically. Existing installations keep their sign-in. After setup, verify sign-in and the data path under Settings > General > Storage usage.

Set up accounts and two-factor sign-in · SMTP and reset links · Update walkthrough.

Login availability and browser proofs ​

After a complete login, the browser receives a random HttpOnly proof for an independent login-attempt budget (up to 30 days, ten browsers per account). Password and any required second factor remain mandatory on every login. Unknown browsers share the existing ten-attempt/five-minute account budget. Unknown attackers cannot spend a recognized browser's own budget. IP and global capacity limits still apply, including shared NAT.

Under Settings → Authentication → User management → Unlock login, an authenticated admin can reset account budgets and revoke remembered browser proofs. The action is audited; password, second-factor protection and existing sessions remain intact. Account, password, role and second-factor changes also revoke proofs. Application backups exclude these local authentication records. New browsers and sustained overload remain subject to limits.