feat: add public Docker deployment stack
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user