From 66d435022184b93d10b221dc6bd8a7c852ae0763 Mon Sep 17 00:00:00 2001 From: Louis Date: Sat, 26 Sep 2026 15:06:14 +0200 Subject: [PATCH] README: add update instructions for the Docker web version Co-Authored-By: Claude Opus 5.5 --- README.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/README.md b/README.md index dec405a..b831e47 100644 --- a/README.md +++ b/README.md @@ -101,6 +101,21 @@ Then open `http://:8080` and create the administrator account. As a - **Data** lives in the `mrterm-data` volume (`/data` in the container). Back it up regularly. A restored vault still needs its user's password to open. - **SSH connections** start from the server, so the server must be able to reach your hosts. +### Updating the web version + +Run these commands in the folder that contains your `docker-compose.yml`: + +```bash +docker compose build --pull --no-cache +docker compose up -d +``` + +This fetches the latest MrTerm from the repository, rebuilds the image and restarts the container. Your users and vaults stay in the `mrterm-data` volume and are kept. Everyone has to sign in again after the restart. + +To check which version is running, look at the bottom of the sign-in page. If a release note mentions changes to `docker-compose.yml`, download it again first (`curl -O …` as above) and copy over your own changes, such as ports or `TRUST_PROXY`. + +To remove images left over from earlier builds: `docker image prune`. + ## Getting started 1. Click **New host**, enter the address, username and password or key, and click **Save**.