Files
blocnote/docker-compose.yml
T
Puechberty Arthur 63e6c64077 Add SVG assets and TypeScript configuration
- Created a new SVG for the Open Graph image (og-image.svg) with a gradient background and text elements.
- Added Vercel logo SVG (vercel.svg) for deployment branding.
- Introduced a window icon SVG (window.svg) for UI representation.
- Initialized TypeScript configuration file (tsconfig.json) with strict settings and module resolution for a React project.
2026-03-30 19:25:43 +02:00

28 lines
643 B
YAML

services:
blocnote:
image: node:22-alpine
container_name: blocnote
working_dir: /app
volumes:
- .:/app
- node_modules:/app/node_modules
- nextjs_cache:/app/.next
ports:
- "3016:3000"
environment:
- NODE_ENV=production
- NEXT_TELEMETRY_DISABLED=1
- HOSTNAME=0.0.0.0
command: sh -c "npm ci --include=dev && npm run build && npm start"
restart: unless-stopped
healthcheck:
test: ["CMD", "wget", "-q", "--spider", "http://localhost:3000"]
interval: 30s
timeout: 10s
retries: 3
start_period: 60s
volumes:
node_modules:
nextjs_cache: