diff --git a/Dockerfile b/Dockerfile index 0672d4d..682efbe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -44,7 +44,7 @@ IFS= read -r status <&3 [[ "$status" == HTTP/*" 200 "* ]] EOF2 RUN restic version && mysqldump --version && pg_dump --version && tessera --help >/dev/null \ - && useradd --system --uid 10001 --user-group --home-dir /home/tessera --create-home tessera \ + && useradd --uid 10001 --user-group --home-dir /home/tessera --create-home tessera \ && install -d -o tessera -g tessera /data ENV TESSERA_LISTEN=0.0.0.0:8787 ENV TESSERA_DATA_DIR=/data diff --git a/README.md b/README.md index 49f2fc8..86cc8c7 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ The API accepts `{"retention":{"keep_daily":7,"keep_weekly":2,"keep_monthly":6," The same repository setup is used by new [Outpost backup profiles](docs/DATABASE-CAPTURE.md). -Rest Server's `.htpasswd` must use bcrypt entries (`htpasswd -B`); Apache `apr1` hashes from `openssl passwd -apr1` are rejected with "Invalid htpasswd entry". Restart Rest Server after changing the file (a reload signal was not enough in testing). +Rest Server's `.htpasswd` must use bcrypt entries (`htpasswd -B`); Apache `apr1` hashes from `openssl passwd -apr1` are rejected with "Invalid htpasswd entry". Restart Rest Server (do not just signal a reload) after changing the file. Run [Rest Server](https://github.com/restic/rest-server#usage) with TLS, authentication, `--append-only`, and `--private-repos`. Point its storage at the hub's `vault/outposts` directory. Both processes need filesystem access to that directory. Give Rest Server access only to `outposts`, with a separate location for its TLS and authentication files.