Consume PocketBase for posts and events, with English routes
This commit is contained in:
1 parent
c59e7a4f83
commit
da87716d97
22 files changed
+278
-225
No files matched your search
+17
-3
@@ -1,6 +1,10 @@
|
||||
# Base compose: production-like. Both services, no host port mappings (NPM is the
|
||||
# only path to the web app; the editors reach PocketBase through an NPM subdomain).
|
||||
# Only PocketBase's data is a volume; everything else lives inside the images.
|
||||
# Base compose: production-like. Both services; only PocketBase's data is a volume,
|
||||
# everything else lives inside the images.
|
||||
#
|
||||
# The two `ports:` blocks below are TEMPORARY. The target state is NPM in front:
|
||||
# NPM terminates TLS and is the only path to the web app, and the editors reach
|
||||
# PocketBase through an NPM subdomain -- then both port mappings go away (#9). While
|
||||
# NPM is not set up yet, the ports are the only way onto the site and the admin UI.
|
||||
#
|
||||
# For local development use the dev overlay on top, which adds host ports and builds
|
||||
# the web image from source:
|
||||
@@ -25,6 +29,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. Remove once the editors reach PocketBase through an
|
||||
# NPM subdomain (#9) -- until then the admin has no other way in.
|
||||
- "8090:8090"
|
||||
healthcheck:
|
||||
# The image ships this endpoint; the web app waits for it to pass.
|
||||
test: ["CMD", "wget", "--spider", "-q", "http://localhost:8090/api/health"]
|
||||
@@ -44,3 +53,8 @@ services:
|
||||
TZ: Europe/Berlin
|
||||
# The web app reads content from PocketBase over the compose network.
|
||||
PocketBase__BaseUrl: http://eb-pocketbase:8090
|
||||
ports:
|
||||
# TEMPORARY: reach the site on the LAN (http://<unraid>:5000) while NPM is not
|
||||
# in front yet. Replace with the external npm network once NPM terminates TLS
|
||||
# and is the only path in (#9).
|
||||
- "5000:8080"
|
||||
Reference in new issue
Block a user