chore: add Coolify deployment scaffolding (Dockerfiles, prod compose, git hygiene)
- apps/api/Dockerfile: build NestJS, run prisma migrate deploy on start - apps/web/Dockerfile + nginx.conf: build Vite, serve static, proxy /api -> api - docker-compose.coolify.yml: full prod stack (postgres, redis, minio, keycloak, api, web) - .dockerignore / .gitignore / .gitattributes Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
+44
@@ -0,0 +1,44 @@
|
||||
# Dependencies
|
||||
node_modules/
|
||||
.pnpm-store/
|
||||
|
||||
# Build output
|
||||
dist/
|
||||
build/
|
||||
apps/web/dist/
|
||||
apps/api/dist/
|
||||
*.tsbuildinfo
|
||||
|
||||
# Vite / caches
|
||||
.vite/
|
||||
**/.vite/
|
||||
.turbo/
|
||||
|
||||
# Secrets — never commit. Keep only *.example
|
||||
.env
|
||||
.env.*
|
||||
!.env.example
|
||||
apps/api/.env
|
||||
apps/api/.env.*
|
||||
!apps/api/.env.example
|
||||
apps/web/.env
|
||||
apps/web/.env.*
|
||||
!apps/web/.env.example
|
||||
|
||||
# Runtime data / uploads
|
||||
storage/
|
||||
apps/api/storage/
|
||||
*.sqlite
|
||||
*.db
|
||||
|
||||
# Logs
|
||||
*.log
|
||||
npm-debug.log*
|
||||
pnpm-debug.log*
|
||||
|
||||
# OS / editor
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
.idea/
|
||||
.vscode/*
|
||||
!.vscode/extensions.json
|
||||
Reference in New Issue
Block a user