Files
Elternbeirat/docs/unraid-infrastructure.md
T
TomandClaude Opus 5.5 05b1666f81 Deploy the stack from the repo's compose.yaml via Gitea Actions
- deploy.yml gets a deploy job after the build: pull, compose up on Unraid
  through the runner's Docker socket, then a health gate on eb-blazor /health
  from inside proxynet; docs-only pushes trigger nothing, manual runs allowed
- STRATO_DYNDNS_PASSWORD comes from a Gitea secret instead of the Compose
  Manager env file
- restart: always, because Unraid stops containers explicitly on shutdown and
  unless-stopped would leave the stack down after a reboot; the dev overlay
  turns it off
- Docs describe the automatic rollout and the one-time switch away from the
  Compose Manager stack

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-10 00:37:42 +02:00

3.3 KiB
Raw Blame History

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 Gitea Actions (.gitea/workflows/deploy.yml), no Compose Manager
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 deployed by .gitea/workflows/deploy.yml as project eb-stack, straight from the repo's compose.yaml (deployment.md). It is not a Compose Manager stack: there is no copy of the compose file on the server. It shows up on the Docker tab like any other container.

The Gitea-Runner container runs the deploy. It has /var/run/docker.sock mounted, so the workflow's docker compose talks to the Unraid daemon directly.

Network names. The stack's own network has the fixed name eb-internal. Changing a network name needs docker compose down and then 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