None of this is needed for a normal install. The repository’s own docker-compose.yml (clone the repository and run docker compose up -d)
uses the same published image and the same Docker volume as the simple file. Optional settings go in a .env file next to it; .env.example lists them.
- Data in a folder you choose (for backups with your own tools): set
NETLENS_DATA=/srv/netlensin.env, create the folder and runsudo chown 10001:10001 /srv/netlens. - A specific version instead of the newest: set
NETLENS_IMAGE_TAG=0.3.128in.env, or change the image line toghcr.io/gatlarf/netlens:0.3.128. - Build from source (developers):
export NETLENS_VERSION="$(sh contrib/version.sh)", thendocker compose -f docker-compose.yml -f docker-compose.build.yml up -d --build. WithoutNETLENS_VERSIONthe app works but reports the version asdev.
Existing installations
Nothing changes when you update: a NETLENS_TOKEN you already set keeps working as an administrator login, your data is migrated automatically and no
first-start wizard appears. When you want to leave the shared token behind, create an administrator under Settings → Users & tokens, sign in with it, and
then remove NETLENS_TOKEN from your compose file.