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:
20
.dockerignore
Normal file
20
.dockerignore
Normal 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
|
||||
Reference in New Issue
Block a user