Add Unraid template, icon and privilege-dropping entrypoint
Build and deploy / build (push) Successful in 1m32s
Build and deploy / deploy (push) Successful in 22s
Release / image (push) Successful in 1m57s
Release / release (push) Successful in 7s

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
TomandClaude Opus 5.5 committed 2026-11-14 17:35:46 +01:00
1 parent 0984af25bc
commit 4168e9990b
8 files changed
+102 -1

No files matched your search

+34
View File
@@ -106,6 +106,40 @@ The files in [`deploy/unraid/`](deploy/unraid) and `.gitea/workflows/deploy.yml`
author's personal deployment (Gitea Actions to Unraid). They are an example only and not
needed to run Flypaper.
## Unraid
[`unraid/flypaper.xml`](unraid/flypaper.xml) is a Docker template for Unraid. It sets up both
ports, the appdata folder `/mnt/user/appdata/flypaper` and the optional variables (under
*Show more settings*).
1. Copy the template to the flash drive, in the Unraid terminal:
```bash
wget -O /boot/config/plugins/dockerMan/templates-user/my-Flypaper.xml \
https://gitea.anticarnist.de/Tom/Flypaper/raw/branch/main/unraid/flypaper.xml
```
2. **Docker → Add Container**, pick *Flypaper* under the user templates, choose free host ports
(8080 is often taken on Unraid) and **Apply**.
3. Open the WebUI (the dashboard port) and set the admin password.
Unraid can also read templates from a *template repository* (Docker tab, Advanced View), but
that feature is built around GitHub repositories and may not accept this Gitea URL; the manual
copy above always works.
The template starts the container as root (`--user 0:0`) only so it can hand the appdata folder
to its app user; Flypaper then drops to UID 1654 for good. Without it, a freshly created appdata
folder belongs to root and the database cannot be created.
**Connecting Nginx Proxy Manager:** follow the [NPM section](#nginx-proxy-manager) below. If NPM
runs in a user-defined Docker network (e.g. `proxynet`), put Flypaper into the same network
(*Network Type* in the template) and use `http://Flypaper:8080` as the target. If NPM can't
share a network with it, forward to `http://<unraid-ip>:<trap-port>` instead. Either way the
request comes from a private address, which Flypaper trusts by default.
The template is not part of the official Community Applications yet; that needs a separate
submission.
## Versions and updates
Flypaper follows [Semantic Versioning](https://semver.org); every release is listed in