chore: deploy with Docker Compose on Dokploy

Add the two runtime images and their compose file: `api` (Bun bundle,
runs `prisma migrate deploy` before `bun run start`) and `web` (Vite
build served by nginx, which proxies `/api/*` to the API and keeps the
SSE streams unbuffered with a long read timeout). The database is
external and both services join the `dokploy-network` for Traefik.

Remove the GitHub Actions workflow: there is no hosted CI, so the
verification scripts run locally.
This commit is contained in:
Jose Selesan
2026-10-16 15:44:26 -03:00
parent 370e3022c8
commit f87d46c975
6 changed files with 182 additions and 53 deletions

20
.dockerignore Normal file
View File

@@ -0,0 +1,20 @@
.git
.github
**/node_modules
**/.turbo
**/dist
**/build
**/coverage
**/*.tsbuildinfo
**/*.log
.DS_Store
# env (examples are kept: they never contain secrets)
.env
.env.*
!.env.example
# generated files (rebuilt inside the image)
apps/api/src/generated
apps/web/src/routeTree.gen.ts
apps/web/.tanstack