36 lines
1.7 KiB
Markdown
36 lines
1.7 KiB
Markdown
# 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](reverse-proxy.md#nginx-proxy-manager). 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.
|