Loading node_modules for every test file was most of the run time. setup.ts now
resets env, fetch, spies, timers and the module graph between files instead.
The *.real.test.ts suite still runs locally with pnpm test:real.
The TanStack app becomes the official dokploy app (image, cloud image and CI).
Next keeps building from apps/dokploy-next against the shared server code.
reset-password, reset-2fa, transfer-ownership, migrate-auth-secret and
wait-for-postgres run from dist-server so they work inside the image;
database, migration and test scripts delegate to apps/dokploy.
AI SDKs, AWS SDKs, react-email templates, nodemailer, resend, public-ip and
trpc-openapi are imported on use; faker uses the en locale only. The server
bundle is code-split so dynamic imports stay out of startup.
Idle heap after load: 126 MB -> 81 MB.
The UI (components, hooks, lib, utils) is now a copy inside apps/tanstack-start that uses
TanStack Router natively (Link, useNavigate, useParams, useSearch, React.lazy) and
createTRPCReact. The /api endpoints run as plain Node handlers instead of Next API
handlers. apps/dokploy is unchanged.
The dashboard no longer renders on the server, SSR calls the API router directly
instead of over loopback HTTP in production, and loader data is no longer refetched
on mount.
Adds apps/tanstack-start: every page of apps/dokploy/pages as a native
TanStack Start route (beforeLoad/loader/head instead of getServerSideProps),
sharing components, hooks and the tRPC client with apps/dokploy.
- Next-free HTTP server running the pages/api handlers, websockets, crons
and the Start handler in one process
- Dashboard rendered with ssr: "data-only"; tRPC goes over loopback during SSR
- Fontsource fonts, route head() titles with whitelabel branding
- Dockerfile.tanstack (Node) and Dockerfile.tanstack-bun images
- Workflow publishing dokploy/dokploy:tanstack for amd64 and arm64
- Pin @codemirror/language, @codemirror/view and @lezer/highlight to a
single copy so syntax highlighting works across both apps
Destinations get an optional encryption key. When enabled, database, compose, volume and web server backups are encrypted with rclone crypt before upload and stored with a .bin suffix. Restores, listing and retention decide per file, so existing unencrypted backups keep working and encrypted ones stay restorable after encryption is turned off.
The key is generated or pasted once and cannot be changed, is stored encrypted, and is excluded from service and backup queries. Encrypted files download as-is.
Closes#2926
Runs at least 2 replicas spread across swarm nodes with stop-first rolling
updates and automatic rollback. Enabling requires no mounts, a pullable image,
2+ eligible nodes, a health check and no host-mode ports. Optionally keeps
replicas on worker nodes only.