mirror of
https://github.com/multica-ai/multica.git
synced 2026-06-16 19:29:26 +02:00
Add a one-command self-hosting setup: `docker compose -f docker-compose.selfhost.yml up -d` starts PostgreSQL, backend (with auto-migration), and frontend. Changes: - docker-compose.selfhost.yml: full stack orchestration (postgres + backend + frontend) - Dockerfile: add entrypoint.sh that auto-runs migrations before server start - Dockerfile.web: multi-stage Next.js build with standalone output - docker/entrypoint.sh: migration + server startup script - .dockerignore: exclude unnecessary files from Docker builds - apps/web/next.config.ts: conditional standalone output for Docker builds - SELF_HOSTING.md: rewrite with Docker Compose as primary approach - README.md: update self-host section Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
39 lines
323 B
Plaintext
39 lines
323 B
Plaintext
# Dependencies
|
|
node_modules
|
|
.pnpm-store
|
|
|
|
# Build outputs
|
|
.next
|
|
dist
|
|
server/bin
|
|
server/tmp
|
|
|
|
# Git
|
|
.git
|
|
.gitignore
|
|
|
|
# Environment
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
|
|
# IDE
|
|
.idea
|
|
.vscode
|
|
*.swp
|
|
*.swo
|
|
|
|
# OS
|
|
.DS_Store
|
|
Thumbs.db
|
|
|
|
# Test
|
|
e2e/test-results
|
|
coverage
|
|
|
|
# Docs
|
|
docs/
|
|
|
|
# Desktop app (not needed for web self-hosting)
|
|
apps/desktop
|