feat: add public Docker deployment stack

This commit is contained in:
2026-08-04 14:45:31 +00:00
commit 09d849de07
14 changed files with 628 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
services:
runtime:
user: ${DEV_UID:-1000}:${DEV_GID:-1000}
environment:
CORE_SOURCE_MODE: bind
CORE_BIND_ROOT: /workspace/core2026
RUNTIME_MODE: ${RUNTIME_MODE:-development}
VITE_PREVIEW_ALLOWED_HOSTS: '*'
volumes:
- ${CORE_DEV_PATH:-../core2026}:/workspace/core2026
- runtime-data:/srv/data
- core-source:/srv/core
command: [sh, -c, sleep infinity]
healthcheck:
test: [CMD-SHELL, 'test -d /workspace/core2026/node_modules/.pnpm']
interval: 10s
timeout: 5s
retries: 30
start_period: 5m
caddy:
environment:
SITE_ADDRESS: :80