# Unraid infrastructure What runs on the Unraid host and how the website stack fits in. This is the **actual state** on the server. How to deploy a new version: `deployment.md`. ## Host | | | |---|---| | LAN IP | `192.168.1.14` | | Web UI | `https://unraid.server:44302` | | Version | Unraid OS 7.0.1 | | Stack management | Compose Manager plugin, stack `elternbeirat` | | Docker network for NPM | `proxynet` (created with `docker network create proxynet`) | **Settings → Docker → Advanced View → Preserve user defined networks: Yes.** Without it Unraid deletes `proxynet` on every Docker restart, and every container attached to it fails to start. ## Website stack The stack is created in the Compose Manager under the name `elternbeirat`. Its compose content is a copy of `compose.yaml` **without the comments**, pasted into the stack's config in the Unraid UI. > **The project name comes from the stack folder, not from `name:`.** The > Compose Manager starts the stack with `-p elternbeirat`, which overrides > `name: eb-stack`. Renaming the stack in the UI does not change it. That is why > `compose.yaml` gives the stack's network the fixed name `eb-internal` instead of > the derived `elternbeirat_default`. Changing a network name needs **Compose Down** > and then **Compose Up**; a plain Up fails because the existing containers still > point at the old network. | Container | Network | Container port | Host port | |---|---|---|---| | `eb-blazor` | `eb-internal`, `proxynet` | `8080` | – | | `eb-pocketbase` | `eb-internal` | `8090` | `8090` | | `eb-ddns` | `eb-internal` | – | – | Persistent data: `/mnt/user/appdata/pocketbase/pb_data` → `/pb_data`. ## Nginx Proxy Manager The container is called **`nginx`** and runs on the network `proxynet`. | Container port | Host port | |---|---| | `8080` (HTTP) | `80` | | `4443` (HTTPS) | `443` | | admin UI | `7818` (`http://192.168.1.14:7818`) | | config | `/mnt/cache/appdata/nginx` → `/config` | > **Why `proxynet` and not `bridge`:** Docker's default `bridge` has no name > resolution. On `proxynet` NPM reaches `eb-blazor:8080` by name, so the site needs > no host port. ### Active proxy hosts Except for the website, destinations use LAN host names (`unraid.server`), resolved by the LAN DNS, never container IPs. That is why they kept working when NPM moved from `bridge` to `proxynet`. | Source | Destination | SSL | |---|---|---| | `elternbeirat-igmh.info`, `www.elternbeirat-igmh.info` | `http://eb-blazor:8080` | Let's Encrypt | | `gitea.anticarnist.de` | `http://unraid.server:3005` | Let's Encrypt | | `cloud.anticarnist.de` | `https://unraid.server:44304` | Let's Encrypt | | `home.anticarnist.de` | `http://unraid.server:44303` | Let's Encrypt | | `assistant.anticarnist.de` | `http://192.168.1.15:8123` | Let's Encrypt | Further hosts (`*.katzenfunk.de`, `anticarnist.de` → `arch.server` / SearXNG) exist but are offline and unused. ## Other containers on the host Except for AdGuard, all of these run on `bridge` and have nothing to do with the website. They are listed so it is clear which ports are taken. | Container | Host ports | |---|---| | AdGuard-Home | own IP `192.168.1.7` (`br0`) | | flame | `44303` | | Gitea | `2205` (SSH), `3005` (HTTP) | | Gitea-Runner | – | | nextcloud | `44304` | | piper | `10200` | | postgresql15 | `5432` | | SearXNG | `1234` (stopped) | | UptimeKuma | `3001` |