Deployment guide

wanderer

Overview

wanderer is an open source, self-hosted database for outdoor routes. You upload or draw trails on an interactive map, attach GPX tracks, waypoints, photos and notes, and keep your hiking, cycling and running routes together with distance, elevation and other stats in one place. Trails group into lists, can be private or shared, and are searchable instantly across everything you have recorded.

wanderer pairs a SvelteKit web frontend with PocketBase (a single Go binary that embeds an SQLite database) for your account and route data, and Meilisearch for fast full-text search. This SecureAnyCloud image runs the GPL-3.0 licensed wanderer application the officially supported way, as upstream containers pinned by image digest, alongside the MIT-licensed Meilisearch engine. All images are captured into the VM, so your instance starts in seconds.

The upstream project ships with open registration enabled and its search and backend keys set to public example values. This image ships with no known secret. On first boot of each VM, before the app is reachable, it generates a unique Meilisearch master key, a unique PocketBase encryption key, a per-instance app account and a separate backend superuser, each with a random password. Open sign-up is switched off by default.

wanderer, PocketBase and Meilisearch are trademarks of their respective owners. This image is produced by SecureAnyCloud and is not affiliated with, endorsed by, or sponsored by any of them. It ships the free and open source self-hosted software, unmodified.

What you get:

  • wanderer v0.20.0 (the GPL-3.0 licensed SvelteKit frontend and PocketBase backend), pinned by image digest
  • Meilisearch v1.36.0 (the MIT-licensed search engine) in production mode, so every request requires a key
  • PocketBase's embedded SQLite database, created empty on first boot and stored on a persistent volume
  • Docker Engine with the web frontend, PocketBase and Meilisearch on a private network, fronted by an in-network nginx proxy. The proxy is the only container published to the host, on port 80 (/ = web app, /pb/ = PocketBase API)
  • wanderer.service, wanderer-firstboot.service and wanderer-postboot.service as systemd units, enabled and active on boot
  • A unique Meilisearch master key, PocketBase encryption key, per-instance app account and separate backend superuser, each with a random password generated per VM on first boot and never baked into the image
  • Open registration disabled by default, and the PocketBase admin console kept off the public port
  • No default login, no shipped secret and an empty database on first boot
  • Ubuntu 24.04 LTS base with the latest security patches applied at build time
  • Azure Linux Agent for cloud integration and SSH key injection
  • 24/7 SecureAnyCloud support with a 24-hour response SLA

Prerequisites

You need an active Azure subscription, an SSH public key, and a VNet with a subnet in the target region. You also need a subscription to the wanderer listing on Azure Marketplace.

Recommended VM size: Standard_B2s (2 vCPU, 4 GB RAM) is a sensible starting point for a person, a household or a small club. For larger route libraries or many concurrent users, use Standard_D2s_v5 or larger.

Configure the network security group (NSG) to allow inbound 22/tcp from your management network and 80/tcp for the web app from the networks that use it.

1

Deploy from the Azure Portal

Sign in to the Azure Portal, choose Create a resource, search the Marketplace for wanderer by SecureAnyCloud, and select Create.

On the Basics tab, pick your subscription, resource group, region and size. Under Administrator account, choose SSH public key and paste your key. Under Inbound port rules, allow SSH (22) and HTTP (80).

Select Review + create, then Create.

2

Deploy with the Azure CLI

Accept the Marketplace terms once per subscription, then create the VM:

RG="wanderer-prod"; LOCATION="eastus"; VM_NAME="wanderer-01" IMAGE_URN="sac1647283583153:wanderer-ubuntu-24-04:default:latest" SSH_KEY="$(cat ~/.ssh/id_rsa.pub)" az group create --name "$RG" --location "$LOCATION" az network vnet create -g "$RG" --name wanderer-vnet --address-prefix 10.100.0.0/16 --subnet-name wanderer-subnet --subnet-prefix 10.100.1.0/24 az network nsg create -g "$RG" --name wanderer-nsg az network nsg rule create -g "$RG" --nsg-name wanderer-nsg --name allow-ssh --priority 100 \
  --source-address-prefixes "<your-mgmt-cidr>" --destination-port-ranges 22 --access Allow --protocol Tcp az network nsg rule create -g "$RG" --nsg-name wanderer-nsg --name allow-http --priority 110 \
  --destination-port-ranges 80 --access Allow --protocol Tcp
# Accept the Marketplace terms once per subscription (required before the first CLI deploy)
az vm image terms accept --urn sac1647283583153:wanderer-ubuntu-24-04:default:latest
az vm create -g "$RG" --name "$VM_NAME" --image "$IMAGE_URN" \
  --size Standard_B2s --storage-sku StandardSSD_LRS \
  --admin-username azureuser --ssh-key-values "$SSH_KEY" \
  --vnet-name wanderer-vnet --subnet wanderer-subnet --nsg wanderer-nsg --public-ip-sku Standard

Replace <sub-id> and <version> with your subscription ID and the image version shown on the listing. Replace <your-mgmt-cidr> with the network you administer from.

3

First boot and per-instance credentials

On the first boot of each VM, before the app is reachable, wanderer generates its own per-instance secrets and accounts. Nothing is baked into the image.

Wait a minute after first boot, then connect over SSH and read the credentials file. The file is 0600 root:root:

ssh azureuser@<vm-ip>
sudo cat /root/wanderer-credentials.txt

The file contains two accounts, both with per-instance random passwords:

  • WANDERER_USER_EMAIL / WANDERER_USER_PASSWORD: the app login you use in the web UI.
  • PB_SUPERUSER_EMAIL / PB_SUPERUSER_PASSWORD: the PocketBase backend superuser for administering collections. Its admin console is not exposed on the public port (see Step 4).

Confirm that the services and containers are healthy:

sudo systemctl is-active docker wanderer-firstboot wanderer wanderer-postboot
active active active active
docker compose -f /opt/wanderer/docker-compose.yml ps

The db (PocketBase) and search (Meilisearch) containers publish only to loopback and the internal network. The nginx proxy container is the single public entry point, on port 80.

4

The security model

SecureAnyCloud hardens every instance before the port is ever public. The web app, PocketBase and Meilisearch run as containers on a private Docker network. Only the nginx proxy is published, on port 80, routing / to the web app and /pb/ to the PocketBase API.

The PocketBase admin console (/pb/_/) is blocked at the proxy and returns 403. Meilisearch is never published to any host port. Open user registration is disabled by default (PUBLIC_DISABLE_SIGNUP=true).

Verify the proxy behaviour:

# the app is public on :80; PocketBase API is reachable for the browser via /pb/ curl -s -o /dev/null -w "app / -> %{http_code}\n" http://127.0.0.1/ curl -s -o /dev/null -w "pb /pb/api/health -> %{http_code}\n" http://127.0.0.1/pb/api/health
# the admin console is NOT public curl -s -o /dev/null -w "admin /pb/_/ -> %{http_code}\n" http://127.0.0.1/pb/_/
app / -> 200 pb /pb/api/health -> 200 admin /pb/_/ -> 403

To reach the PocketBase admin console, tunnel to the loopback container port over SSH. Then sign in with the superuser credentials:

ssh -L 8091:127.0.0.1:8091 azureuser@<vm-ip>
# then open http://localhost:8091/_/ in your browser
5

Verify the end-to-end round trip

The image ships a verification script. It authenticates as the per-instance app account, creates a trail list through the public front door and reads it back. It also confirms that an unauthenticated create is rejected. Run it with:

sudo /usr/local/sbin/wanderer-roundtrip.sh
6

Sign in to the web app

Open http://<vm-ip>/ in your browser. Sign in with the WANDERER_USER_EMAIL and WANDERER_USER_PASSWORD from the credentials file.

The home view shows your activity feed of trails and lists, each with its recorded distance, elevation gain and loss, and duration.

Choose New Trail to open the route planner. You can Draw a route directly on the interactive map or choose Upload file to import a GPX track. wanderer computes the distance, duration and elevation profile as you go.

Use Lists to organise trails into collections, such as a set of favourite routes. You can keep each list private or share it.

A note on the PocketBase URL and using your own domain

wanderer's web frontend talks to PocketBase from both the browser and its server-side rendering, using the same address. To keep both paths correct on a plain IP deployment, the image sets the browser-facing PocketBase URL to http://<vm-ip>.nip.io/pb. Here nip.io is a public wildcard-DNS service that resolves <vm-ip>.nip.io back to <vm-ip>.

Your VM still serves everything on port 80. Only DNS resolution uses nip.io.

For production, put wanderer behind your own domain and TLS. Point a hostname at the VM. In /opt/wanderer/.env, set ORIGIN (the app) to https://wanderer.example.com and PUBLIC_POCKETBASE_URL to https://pb.example.com/pb, a distinct host from ORIGIN. Then run sudo systemctl restart wanderer.

Managing the service

View recent container logs, or restart the whole stack:

# view recent logs for a container docker compose -f /opt/wanderer/docker-compose.yml logs --tail 50 web
# restart the whole stack
sudo systemctl restart wanderer

Support

SecureAnyCloud provides 24/7 support with a 24-hour response SLA. For help with this image, contact sales@secureanycloud.com.

Deploy on Azure

Launch wanderer on Ubuntu 24.04 LTS on Azure with 24/7 support from SecureAnyCloud.

View this image

Need Help?

Our support team is available 24/7.

sales@secureanycloud.com

Deploy on Azure