Install the portal
SiteVerum runs as three Docker Compose services: web/API, processing worker, and PostgreSQL/PostGIS. Original recordings and generated survey files use a persistent Docker volume.
For Survey QA, Electrical Poles Detection or a custom module, follow the module-enabled setup.
Windows: Docker Desktop
Section titled “Windows: Docker Desktop”1. Install the prerequisites
Section titled “1. Install the prerequisites”- Docker Desktop with its Linux containers engine running.
- Git for Windows.
- Enough free disk space for Docker images, the uploaded MP4 videos, and extracted photographs. Storage depends on survey length and image sampling.
In PowerShell, verify that Docker responds:
docker infodocker compose version2. Download and start SiteVerum
Section titled “2. Download and start SiteVerum”git clone https://github.com/markfishurupa-dot/siteverum.gitcd siteverum.\setup.ps1The installer generates deploy/.env with two random passwords only if the file does not exist. It builds the containers and waits for the API health check.
If PowerShell blocks local scripts, review setup.ps1 before making any policy change. Alternatively, use the manual setup below.
3. Sign in
Section titled “3. Sign in”Open http://127.0.0.1:18080/ (or the address printed by the setup script).
Use username admin and the value of SV_ADMIN_PASSWORD stored in your local deploy/.env file. This file also contains the database password: keep it private, do not commit or share it, and preserve it when upgrading.
You can now follow Process your first survey.
Linux: Docker Engine
Section titled “Linux: Docker Engine”You need Linux with amd64 architecture, Git, OpenSSL, Docker Engine, and the Docker Compose plugin. The Docker daemon must be running and accessible to your user account.
docker infodocker compose versiongit clone https://github.com/markfishurupa-dot/siteverum.gitcd siteverumbash ./setup.shThe script creates the same local deploy/.env credential file, starts the Compose stack and prints a local address. Visit http://127.0.0.1:18080/ on the Linux host. If you are accessing it from a different computer, the default loopback binding will not accept that connection; see Publish a map before configuring networking.
Manual setup for advanced users
Section titled “Manual setup for advanced users”If you do not want to use setup.ps1 or setup.sh, create deploy/.env locally using the sample field names in deploy/.env.example:
SV_DB_PASSWORD=<generate-a-strong-unique-secret>SV_ADMIN_PASSWORD=<generate-another-strong-unique-secret>SV_PORT=18080Replace the placeholders with random secrets, never include angle brackets in the actual values, and keep the file outside Git. From the repository root:
docker compose -f deploy/compose.yaml up -d --build --waitImportant: Do not change SV_DB_PASSWORD against an initialized Postgres volume without an intentional database credential migration. Changing the environment file by itself does not update an existing database password.
Everyday operations
Section titled “Everyday operations”Run these commands from the repository root:
| Task | Command |
|---|---|
| Check status | docker compose -f deploy/compose.yaml ps |
| Check service logs | docker compose -f deploy/compose.yaml logs --tail=100 |
| Restart | docker compose -f deploy/compose.yaml restart |
| Stop without removing volumes | docker compose -f deploy/compose.yaml down |
| Start again | docker compose -f deploy/compose.yaml up -d --build --wait |
You can change the local port with SV_PORT in deploy/.env, then recreate the stack with up -d --build --wait. Check the current host port with docker compose -f deploy/compose.yaml port api 8000.
Protect your survey data
Section titled “Protect your survey data”Normal restarts and docker compose down preserve named Docker volumes. The database stores survey metadata and spatial records; the media volume stores source recordings and processed outputs. Your deploy/.env file is also required to keep access working.
Do not run docker compose down -v unless you explicitly intend to destroy the associated persistent volumes.
A fully validated backup-and-restore procedure is still a release acceptance item. Before an upgrade or migration, arrange a tested backup of both named volumes and the local environment file. Do not assume a copied volume directory is a consistent database backup while Postgres is running.
Troubleshooting
Section titled “Troubleshooting”- Docker isn’t running: Start Docker Desktop’s Linux engine or the Docker daemon, then retry
docker info. - Port 18080 is already used: Set
SV_PORTto another available host port indeploy/.envand recreate the stack. - Sign-in fails: Verify that you are reading the existing
SV_ADMIN_PASSWORD, not a newly generated password in a different checkout. - Upload or processing fails: Check survey validation messages and
docker compose -f deploy/compose.yaml logs --tail=100. - The map has no street background: Select OpenStreetMap in the layer control. Tiles require Internet access.
- Another computer cannot connect: The default Compose file deliberately binds the API to
127.0.0.1; a separate secured network deployment is required.
For more cases, see Troubleshooting and FAQ.