feat: bootstrap foundation application

This commit is contained in:
2026-04-29 00:26:58 -04:00
parent 8e6646499f
commit 4a72e1e030
53 changed files with 4443 additions and 0 deletions

23
docker-compose.yml Normal file
View File

@@ -0,0 +1,23 @@
services:
app:
build:
context: .
dockerfile: Dockerfile
ports:
- "8080:8080"
environment:
MD_HUB_SERVER_ADDR: ":8080"
MD_HUB_DATABASE_PATH: "/workspace/data/db.sqlite"
MD_HUB_CONTENT_SOURCE_DIR: "/workspace/content"
MD_HUB_CONTENT_STORE_DIR: "/workspace/data/files"
MD_HUB_WEB_DIST_DIR: "/workspace/web-dist"
volumes:
- ./content:/workspace/content:ro
- ./data:/workspace/data
healthcheck:
test: ["CMD", "curl", "--fail", "http://127.0.0.1:8080/health"]
interval: 10s
timeout: 3s
retries: 5
start_period: 5s