server and web app

This commit is contained in:
2026-05-31 23:08:53 -04:00
parent 438b3b29a2
commit b3364447a1
24 changed files with 2318 additions and 153 deletions

View File

@@ -11,9 +11,14 @@ services:
CAIRNQUIRE_CONTENT_SOURCE_DIR: "/workspace/content"
CAIRNQUIRE_CONTENT_STORE_DIR: "/workspace/data/files"
CAIRNQUIRE_WEB_DIST_DIR: "/workspace/web-dist"
CAIRNQUIRE_PUBLIC_ORIGIN: "https://cairnquire.bendtstudio.com"
volumes:
- ./content:/workspace/content:ro
- ./content:/workspace/content
- ./data:/workspace/data
environment:
CAIRNQUIRE_EMAIL_SMTP_HOST: mailpit
CAIRNQUIRE_EMAIL_SMTP_PORT: "1025"
CAIRNQUIRE_EMAIL_FROM: "notifications@cairnquire.local"
healthcheck:
test: ["CMD", "curl", "--fail", "http://127.0.0.1:8080/health"]
interval: 10s
@@ -21,3 +26,10 @@ services:
retries: 5
start_period: 5s
mailpit:
image: axllent/mailpit:latest
ports:
- "8025:8025"
environment:
MP_UI_BIND_ADDR: "0.0.0.0:8025"
MP_SMTP_BIND_ADDR: "0.0.0.0:1025"