Serve the PocketBase admin at redaktion.elternbeirat-igmh.info
- eb-pocketbase joins proxynet so NPM reaches it as eb-pocketbase:8090, and drops the 8090 host port; no service publishes a port on Unraid anymore - docs/deployment.md covers the Strato CNAME, the NPM proxy host and the / -> /_/ redirect (full URL, or nginx adds its :4443 container port) - PB_URL in .env.example and the editor docs point at the subdomain Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
955e2faa3f
commit
35073273d1
5 files changed
+56
-17
No files matched your search
+10
-11
@@ -2,11 +2,11 @@
|
||||
# only PocketBase's data is a volume, everything else lives inside the images or
|
||||
# in this file.
|
||||
#
|
||||
# NPM runs outside this stack (the `nginx` container on Unraid) and reaches the web
|
||||
# app by name over the external Docker network `proxynet` (eb-blazor:8080), so the
|
||||
# web app publishes no host port. The `ports:` block on PocketBase is TEMPORARY: it
|
||||
# is the editors' way onto the admin UI until they reach it through an NPM subdomain
|
||||
# (#9). Unraid setup: docs/unraid-infrastructure.md.
|
||||
# NPM runs outside this stack (the `nginx` container on Unraid) and reaches both the
|
||||
# web app (eb-blazor:8080) and the PocketBase admin (eb-pocketbase:8090, for
|
||||
# redaktion.elternbeirat-igmh.info) by name over the external Docker network
|
||||
# `proxynet`. No service publishes a host port: NPM is the only way in. Unraid
|
||||
# setup: docs/unraid-infrastructure.md.
|
||||
#
|
||||
# On Unraid this file is deployed as is by .gitea/workflows/deploy.yml (project
|
||||
# eb-stack), not pasted into the Compose Manager.
|
||||
@@ -39,12 +39,11 @@ services:
|
||||
volumes:
|
||||
# The only state that must survive a restart or redeploy.
|
||||
- /mnt/user/appdata/pocketbase/pb_data:/pb_data
|
||||
ports:
|
||||
# TEMPORARY: exposes the admin UI on the LAN (http://<unraid>:8090/_/) while
|
||||
# NPM is not in front yet. Replace once the editors reach PocketBase through an
|
||||
# NPM subdomain (#9): NPM points at eb-pocketbase:8090 over a shared network, so
|
||||
# this host mapping can go -- until then the admin has no other way in.
|
||||
- "8090:8090"
|
||||
networks:
|
||||
# default: serve the web app. proxynet: be reached by NPM as eb-pocketbase:8090
|
||||
# for redaktion.elternbeirat-igmh.info.
|
||||
- default
|
||||
- proxynet
|
||||
healthcheck:
|
||||
# The image ships this endpoint; the web app waits for it to pass.
|
||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8090/api/health"]
|
||||
|
||||
Reference in new issue
Block a user