chore: bootstrap development environment

This commit is contained in:
2026-08-14 12:24:46 +09:00
commit c3a3ff5e17
28 changed files with 4239 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
services:
app:
build:
context: .
target: dev
container_name: holodream-tools-dev
working_dir: /app
command: npm run dev -- --host 0.0.0.0
environment:
NODE_ENV: development
DATABASE_URL: /app/data/holodream.db
WATCH_USE_POLLING: "true"
ports:
- "5173:5173"
volumes:
- .:/app
- node_modules:/app/node_modules
- sqlite_data:/app/data
healthcheck:
test: ["CMD", "node", "-e", "fetch('http://127.0.0.1:5173/api/health').then((response) => { if (!response.ok) process.exit(1); }).catch(() => process.exit(1))"]
interval: 10s
timeout: 3s
start_period: 15s
retries: 5
restart: unless-stopped
volumes:
node_modules:
sqlite_data: