Self-hosting
The SuricateWeb core is free software (AGPL-3.0): the code is on GitHub. It runs with no external database (SQLite) and no npm dependency.
With Node.js
Section titled “With Node.js”Prerequisite: Node.js 22.13 or later (Chrome or Chromium for screenshots, optional).
git clone https://github.com/arnaudroy-lab/suricateweb.gitcd suricatewebcp .env.example .env # then edit SURICATE_USER and SURICATE_PASSWORDnpm startOpen http://localhost:3000, log in, click Add a site, then set up Telegram in Settings.
With Docker
Section titled “With Docker”docker build -t suricateweb .docker run -d --name suricateweb -p 3000:3000 -v suricate-data:/data \ -e SURICATE_USER=admin -e SURICATE_PASSWORD='a-strong-password' suricatewebThe image includes Chromium for screenshots. The /data volume holds everything (database, history, Telegram token, screenshots): without it you lose everything on each redeploy.
On Dokploy
Section titled “On Dokploy”- Create the application: Create Application, Git source, Build Type Dockerfile.
- Environment variables:
SURICATE_USER,SURICATE_PASSWORD(required, at least 8 characters),TRUST_PROXY=1(already in the image). - Persistent volume (Advanced › Volumes): type Volume, mount path
/data. - Domain: your domain, port
3000, HTTPS on (Let’s Encrypt). - Deploy.
Environment variables
Section titled “Environment variables”| Variable | Default | Role |
|---|---|---|
SURICATE_USER |
admin |
Login name |
SURICATE_PASSWORD |
— (required) | Login password |
PORT |
3000 |
Listening port |
HOST |
127.0.0.1 |
Listening interface (0.0.0.0 to expose on the network) |
DATA_DIR |
./data |
SQLite database and screenshots |
TRUST_PROXY |
— | 1 behind a reverse proxy (Secure cookie, client IP) |
CHROME_PATH |
detected | Chrome or Chromium for screenshots |
CHROME_WS_URL |
— | Remote Chrome (a Browserless container, for example) |
SCREENSHOT_KEEP_DEFAULT |
168 |
Scheduled screenshots kept per site |
SURICATE_DEMO |
— | 1: demo mode, fictional data |
The application is always protected by a login and password defined only in the environment: it refuses to start without a password. Changing the credentials signs out every session.
Good practice
Section titled “Good practice”- Put SuricateWeb behind HTTPS: otherwise the password travels in clear text.
- Run a single instance: the database and the scheduler are not designed to run twice.
- Checks start from your server: a site restricted by IP address must allow this one.
- Backup: the
/datafolder holds everything. Otherwise, Settings › Data › Export saves the list of sites, their groups and their configuration (not the history). - A logged-in user can make the server request arbitrary addresses: do not share access.
