All checks were successful
Trigger Cloudarix Deploy / call-webhook (push) Successful in 2s
22 lines
871 B
Markdown
22 lines
871 B
Markdown
Worker container and Dokploy settings
|
|
====================================
|
|
|
|
Build context
|
|
-------------
|
|
- Build path: `worker/` (Dokploy should use this path so the worker Dockerfile is found)
|
|
- Dockerfile: `worker/Dockerfile`
|
|
|
|
Recommended Dokploy settings
|
|
----------------------------
|
|
- Provider: `Gitea`
|
|
- Repository: `ahmido/tenantpilot` (or your repo)
|
|
- Branch: `development`
|
|
- Build path: `worker/`
|
|
- Watch paths: `worker/**`, `lib/**`, `package.json`, `package-lock.json`
|
|
|
|
Notes
|
|
-----
|
|
- The `Dockerfile` runs `npm ci` and then `npm run worker:start`, which uses `tsx` to execute `worker/index.ts` directly.
|
|
- If you prefer a smaller production image, consider adding a build step to compile TypeScript to JS and run the compiled output with `node`.
|
|
- If Dokploy requires a separate webhook per app, use the worker webhook URL provided in this repo's docs/workflow.
|