Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
118 commits
Select commit Hold shift + click to select a range
44f8590
fix: extract ZIP drop deployment to build server when configured
vtomasr5 Feb 4, 2026
5c3b7ac
[autofix.ci] apply automated fixes
autofix-ci[bot] Feb 4, 2026
ce9ba60
impl
ivanpadavan Jan 30, 2026
a4eb0bf
migration
ivanpadavan Feb 10, 2026
7747929
Remove unused SQL migration and associated journal entries for "0143_…
Siumauricio Feb 17, 2026
13b94ed
Merge branch 'canary' into patches-impl
Siumauricio Feb 17, 2026
0fc043d
feat(database): add "patch" table with foreign key constraints and cr…
Siumauricio Feb 17, 2026
752f90c
[autofix.ci] apply automated fixes
autofix-ci[bot] Feb 17, 2026
88f387d
refactor(patches): unify patch handling for applications and composes
Siumauricio Feb 17, 2026
2032063
refactor(patch-editor): streamline patch saving and loading logic
Siumauricio Feb 17, 2026
9818e3c
refactor(patch): simplify patch repository management and enhance git…
Siumauricio Feb 17, 2026
46ac272
refactor(patch): unify patch retrieval and application logic
Siumauricio Feb 17, 2026
1c25ab4
feat(patch-dialog): add EditPatchDialog component for editing patches
Siumauricio Feb 17, 2026
c89f2e3
refactor(patch-editor): remove repoPath dependency and streamline pat…
Siumauricio Feb 17, 2026
2db4c44
refactor(patch): optimize patch application command generation
Siumauricio Feb 17, 2026
9eeac50
feat(patch): add patchType enum and update patch schema
Siumauricio Feb 17, 2026
8aba7b0
feat(patch): implement CreateFileDialog and integrate file creation i…
Siumauricio Feb 17, 2026
46e1bed
[autofix.ci] apply automated fixes
autofix-ci[bot] Feb 17, 2026
6350a8d
refactor(compose): streamline command generation in deployCompose fun…
Siumauricio Feb 17, 2026
8315845
Merge branch 'canary' into patches-impl
Siumauricio Feb 18, 2026
df2221a
refactor(patch): enforce minimum length for ID input and streamline r…
Siumauricio Feb 18, 2026
d70c865
chore: upgrade Node.js version and related dependencies to 24.4.0
Siumauricio Feb 18, 2026
b210c48
chore: update package versions for better-auth and related dependencies
Siumauricio Feb 18, 2026
713aa5f
chore: update Node.js version in documentation and workflows to 24.4.0
Siumauricio Feb 18, 2026
a83a742
fix(auth): ensure error message is properly converted to string in AP…
Siumauricio Feb 18, 2026
9df4398
chore: upgrade pnpm version to 10.22.0 across all Dockerfiles and pac…
Siumauricio Feb 18, 2026
49914c5
[autofix.ci] apply automated fixes
autofix-ci[bot] Feb 18, 2026
37e5c52
chore: update fast-xml-parser and strnum dependencies
Siumauricio Feb 18, 2026
84dd645
Merge pull request #3743 from Dokploy/feat/migrate-to-node-24
Siumauricio Feb 18, 2026
ef65e09
Merge branch 'canary' into patches-impl
Siumauricio Feb 18, 2026
309a411
delete: remove integration tests for patch generation and application
Siumauricio Feb 18, 2026
b0c6b13
chore: update deployment command in Dockerfiles to include --legacy flag
Siumauricio Feb 18, 2026
42e8320
Merge branch 'canary' into patches-impl
Siumauricio Feb 18, 2026
5faa319
feat: add patch table and related constraints
Siumauricio Feb 18, 2026
97f9e8a
test: enhance application tests with patch mock and additional paths
Siumauricio Feb 18, 2026
3439b75
test: add mock for patch table in application.real.test.ts
Siumauricio Feb 18, 2026
5ef431b
test: update mock implementation in application.real.test.ts
Siumauricio Feb 18, 2026
20acc8b
test: remove unused patch mock and deployment test in application.rea…
Siumauricio Feb 18, 2026
d99e0bf
test: remove unused mock constants in application.real.test.ts
Siumauricio Feb 18, 2026
15a1a5d
test: remove unused mock for patch service in application.real.test.ts
Siumauricio Feb 18, 2026
f7079f5
test: remove unused mock for patch service in application.command.tes…
Siumauricio Feb 18, 2026
0d4d609
test: add mock for patch service in application.command.test.ts and a…
Siumauricio Feb 18, 2026
c98548f
Merge pull request #3574 from ivanpadavan/patches-impl
Siumauricio Feb 19, 2026
660bc3c
Merge pull request #3591 from vtomasr5/allow-zipdrop-build-server
Siumauricio Feb 19, 2026
e874b2c
fix: cap monitoring chart data to prevent memory leak (#3712)
mixelburg Feb 19, 2026
32a14be
feat: enhance billing functionality with new pricing tiers and upgrad…
Siumauricio Feb 19, 2026
28fc58d
feat: enhance billing upgrade process with confirmation dialog and to…
Siumauricio Feb 19, 2026
97374f7
feat: update billing display to show monthly pricing for additional s…
Siumauricio Feb 19, 2026
2b42ef7
refactor: simplify product ID handling and refine validation logic in…
Siumauricio Feb 19, 2026
6619043
[autofix.ci] apply automated fixes
autofix-ci[bot] Feb 19, 2026
781bf5e
refactor: remove commented-out code and clean up Stripe router
Siumauricio Feb 19, 2026
daf7004
refactor: update billing pricing calculations and display
Siumauricio Feb 19, 2026
7a62f47
Merge pull request #3758 from Dokploy/feat/add-new-pricing
Siumauricio Feb 19, 2026
3e461f6
Merge pull request #3750 from mixelburg/fix/monitoring-memory-leak
Siumauricio Feb 19, 2026
5d3e055
feat: Make dockerfile path optional and default to "Dockerfile"
jirkavrba Feb 20, 2026
6a2098d
Remove useless defaultValue
jirkavrba Feb 20, 2026
999e5fa
feat: Add Dockerfile as default value for the application database co…
jirkavrba Feb 21, 2026
5435e1d
Merge pull request #3760 from jirkavrba/feat/optional-dockerfile-path
Siumauricio Feb 22, 2026
0b1c1e8
fix: replace full lodash imports with per-function imports
karyanayandi Feb 22, 2026
69d3286
fix: replace index-only keys with stable composite keys in mapped lists
karyanayandi Feb 22, 2026
e3aadf1
fix: add error handling to dokploy restart notifications
Siumauricio Feb 23, 2026
9d09e51
Merge pull request #3780 from Dokploy/3673-dokploy-fails-with-bad-req…
Siumauricio Feb 23, 2026
74461c8
chore: update @better-auth/sso and better-auth to version 1.5.0-beta.…
Siumauricio Feb 23, 2026
d00ec95
fix: remove unnecessary console log for provider in auth.ts
Siumauricio Feb 23, 2026
6cc646c
[autofix.ci] apply automated fixes
autofix-ci[bot] Feb 23, 2026
293ad38
chore: update @better-auth/utils to version 0.3.1 in package.json and…
Siumauricio Feb 23, 2026
d8e0855
chore: update dependencies in pnpm-lock.yaml to latest versions, incl…
Siumauricio Feb 23, 2026
03969b8
refactor: restructure auth export to improve type safety and clarity
Siumauricio Feb 23, 2026
fca10c1
chore: update zod and react-hook-form integration to use standard-sch…
Siumauricio Feb 23, 2026
df648ec
[autofix.ci] apply automated fixes
autofix-ci[bot] Feb 23, 2026
7c534d6
chore: update dependencies in pnpm-lock.yaml and package.json, includ…
Siumauricio Feb 24, 2026
331b12c
chore: update @dokploy/trpc-openapi to version 0.0.14 and swagger-ui-…
Siumauricio Feb 24, 2026
0d0383f
[autofix.ci] apply automated fixes
autofix-ci[bot] Feb 24, 2026
3b7dcac
chore: update drizzle-orm version to 0.41.0 in package.json and pnpm-…
Siumauricio Feb 24, 2026
7b6ece0
refactor: streamline mount schema definitions by utilizing createSche…
Siumauricio Feb 24, 2026
53b6125
refactor: update volume backup and environment description handling t…
Siumauricio Feb 24, 2026
e92ba58
refactor: utilize createInsertSchema for server API schemas to enhanc…
Siumauricio Feb 24, 2026
2d0874d
feat: add triggerType field to application schema for enhanced event …
Siumauricio Feb 25, 2026
b027d21
refactor: simplify API configuration by returning links directly and …
Siumauricio Feb 25, 2026
b2218ef
refactor: update database imports to use centralized db module for im…
Siumauricio Feb 25, 2026
a1ebb80
refactor: reorganize imports in utils.ts to enhance clarity and maint…
Siumauricio Feb 25, 2026
e0c5273
chore: centralize drizzle-orm versioning by using a catalog reference…
Siumauricio Feb 25, 2026
8e893e6
[autofix.ci] apply automated fixes
autofix-ci[bot] Feb 25, 2026
42eeade
chore: update drizzle-orm version to 0.45.1 across all package.json f…
Siumauricio Feb 25, 2026
d29de8f
chore: remove DEBUG-BUILD.md file as it is no longer needed for debug…
Siumauricio Feb 25, 2026
66ef8a0
refactor: update database type declaration to use a centralized Datab…
Siumauricio Feb 25, 2026
c22e006
refactor: rename db variable to dbConnection for improved clarity and…
Siumauricio Feb 25, 2026
2a3ae89
refactor: replace global db declaration with a globalForDb object to …
Siumauricio Feb 25, 2026
b8bfee7
chore: add path mapping for server module in tsconfig.json to improve…
Siumauricio Feb 25, 2026
234862e
chore: update build scripts to use rimraf for cleaning dist directory…
Siumauricio Feb 25, 2026
677fedb
Merge pull request #3783 from Dokploy/feat/add-support-for-trusted-pr…
Siumauricio Feb 25, 2026
1ea1f6b
chore: update @dokploy/trpc-openapi to version 0.0.16 in package.json…
Siumauricio Feb 25, 2026
b9da9e6
chore: enhance Docker image tagging in GitHub Actions workflow to inc…
Siumauricio Feb 25, 2026
4af0bdc
Merge pull request #3796 from Dokploy/feat/add-versioning-cloud-images
Siumauricio Feb 25, 2026
e62bb75
fix: add early return for empty patches in generateApplyPatchesComman…
Siumauricio Feb 26, 2026
a467920
feat: enhance mount API to support service type filtering and organiz…
Siumauricio Feb 26, 2026
9b4a37e
Merge pull request #3800 from Dokploy/3765-missing-mounts-endpoint-fo…
Siumauricio Feb 26, 2026
3d81b98
style: Refactor VPS recommendation message for clarity
HPaulson Feb 26, 2026
7a25a9f
feat: add custom notification support for volume backup status updates
Siumauricio Feb 26, 2026
0adfa51
Merge pull request #3802 from Dokploy/3768-volume-backup-custom-webho…
Siumauricio Feb 26, 2026
4baf77c
feat: enhance security handling by adding refetch capability and impr…
Siumauricio Feb 26, 2026
9d07903
Merge pull request #3804 from Dokploy/3749-updating-the-basic-auth-ac…
Siumauricio Feb 26, 2026
798bfc2
Merge pull request #3801 from HPaulson/patch-1
Siumauricio Feb 26, 2026
9e1406e
chore: update dokploy version to v0.28.0 in package.json
Siumauricio Feb 26, 2026
3352f7a
Merge pull request #3776 from karyanayandi/fix/replace-full-lodash-im…
Siumauricio Feb 26, 2026
345023f
docs: update contribution guidelines to clarify testing requirements …
Siumauricio Feb 26, 2026
f862826
refactor: improve error handling and logging in cron job setup for ba…
Siumauricio Feb 27, 2026
0b9dc3a
Merge pull request #3811 from Dokploy/3332-zombie-processes-from-fail…
Siumauricio Feb 27, 2026
0094b67
refactor: remove unnecessary access log filters from settings configu…
Siumauricio Feb 27, 2026
a188ed3
Merge pull request #3812 from Dokploy/3354-requests-tab-doesnt-show-t…
Siumauricio Feb 27, 2026
5c915bc
refactor: streamline container name processing in metric retrieval fu…
Siumauricio Feb 27, 2026
df27b8b
Merge pull request #3813 from Dokploy/3463-container-metrics-query-br…
Siumauricio Feb 27, 2026
f96a6a5
feat: add functionality to keep the latest N backups after running a job
Siumauricio Feb 27, 2026
98d09f1
Merge pull request #3816 from Dokploy/3815-in-database-backups-of-doc…
Siumauricio Feb 27, 2026
e90d8c0
Merge pull request #3777 from karyanayandi/fix/stable-composite-keys-…
Siumauricio Feb 27, 2026
29fc8bf
fix: update documentation links for server setup and SSH key creation…
Siumauricio Feb 27, 2026
55c04b1
feat: add current billing plan retrieval and enhance SSH error messag…
Siumauricio Feb 27, 2026
8ab139e
Merge pull request #3817 from Dokploy/refactor/support-only-for-start…
Siumauricio Feb 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Dockerfile for DevContainer
FROM node:20.16.0-bullseye-slim
FROM node:24.4.0-bullseye-slim

# Install essential packages
RUN apt-get update && apt-get install -y \
Expand All @@ -12,7 +12,7 @@ RUN apt-get update && apt-get install -y \
# Set up PNPM
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable && corepack prepare pnpm@9.12.0 --activate
RUN corepack enable && corepack prepare pnpm@10.22.0 --activate

# Create workspace directory
WORKDIR /workspaces/dokploy
Expand Down
40 changes: 34 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,17 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set tag and version
id: meta-cloud
run: |
VERSION=$(jq -r .version apps/dokploy/package.json)
echo "version=$VERSION" >> $GITHUB_OUTPUT
if [ "${{ github.ref }}" = "refs/heads/main" ]; then
echo "tags=siumauricio/cloud:latest,siumauricio/cloud:${VERSION}" >> $GITHUB_OUTPUT
else
echo "tags=siumauricio/cloud:canary" >> $GITHUB_OUTPUT
fi

- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
Expand All @@ -25,8 +36,7 @@ jobs:
context: .
file: ./Dockerfile.cloud
push: true
tags: |
siumauricio/cloud:${{ github.ref_name == 'main' && 'latest' || 'canary' }}
tags: ${{ steps.meta-cloud.outputs.tags }}
platforms: linux/amd64
build-args: |
NEXT_PUBLIC_UMAMI_HOST=${{ secrets.NEXT_PUBLIC_UMAMI_HOST }}
Expand All @@ -40,6 +50,16 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set tag and version
id: meta-schedule
run: |
VERSION=$(jq -r .version apps/dokploy/package.json)
if [ "${{ github.ref }}" = "refs/heads/main" ]; then
echo "tags=siumauricio/schedule:latest,siumauricio/schedule:${VERSION}" >> $GITHUB_OUTPUT
else
echo "tags=siumauricio/schedule:canary" >> $GITHUB_OUTPUT
fi

- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
Expand All @@ -52,8 +72,7 @@ jobs:
context: .
file: ./Dockerfile.schedule
push: true
tags: |
siumauricio/schedule:${{ github.ref_name == 'main' && 'latest' || 'canary' }}
tags: ${{ steps.meta-schedule.outputs.tags }}
platforms: linux/amd64

build-and-push-server-image:
Expand All @@ -63,6 +82,16 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set tag and version
id: meta-server
run: |
VERSION=$(jq -r .version apps/dokploy/package.json)
if [ "${{ github.ref }}" = "refs/heads/main" ]; then
echo "tags=siumauricio/server:latest,siumauricio/server:${VERSION}" >> $GITHUB_OUTPUT
else
echo "tags=siumauricio/server:canary" >> $GITHUB_OUTPUT
fi

- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
Expand All @@ -75,6 +104,5 @@ jobs:
context: .
file: ./Dockerfile.server
push: true
tags: |
siumauricio/server:${{ github.ref_name == 'main' && 'latest' || 'canary' }}
tags: ${{ steps.meta-server.outputs.tags }}
platforms: linux/amd64
2 changes: 1 addition & 1 deletion .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20.16.0
node-version: 24.4.0
cache: "pnpm"

- name: Install Nixpacks
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-openapi-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 20.16.0
node-version: 24.4.0
cache: "pnpm"

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.16.0
24.4.0
5 changes: 3 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ feat: add new feature

Before you start, please make the clone based on the `canary` branch, since the `main` branch is the source of truth and should always reflect the latest stable release, also the PRs will be merged to the `canary` branch.

We use Node v20.16.0 and recommend this specific version. If you have nvm installed, you can run `nvm install 20.16.0 && nvm use` in the root directory.
We use Node v24.4.0 and recommend this specific version. If you have nvm installed, you can run `nvm install 24.4.0 && nvm use` in the root directory.

```bash
git clone https://github.com/dokploy/dokploy.git
Expand Down Expand Up @@ -165,10 +165,11 @@ curl -sSL "https://github.com/buildpacks/pack/releases/download/v0.39.1/pack-v0.

### Important Considerations for Pull Requests

- **Testing is Mandatory:** All Pull Requests **must be tested** before submission. You must verify that your changes work as expected in a local development environment (see [Setup](#setup)). **Pull Requests that have not been tested will be closed.** This policy ensures clean contributions and reduces the time maintainers spend reviewing untested or broken code.
- **Testing is Mandatory:** All Pull Requests **must be tested** by the PR author before submission. You must verify that your changes work as expected in a local development environment (see [Setup](#setup)). **Pull Requests that have not been tested by their creator will be rejected.** This policy keeps the PR history clean and values contributors who submit verified, working code. Untested PRs are often recognizable by disproportionately large or scattered changes for simple tasksβ€”please test first.
- **Focus and Scope:** Each Pull Request should ideally address a single, well-defined problem or introduce one new feature. This greatly facilitates review and reduces the chances of introducing unintended side effects.
- **Avoid Unfocused Changes:** Please avoid submitting Pull Requests that contain only minor changes such as whitespace adjustments, IDE-generated formatting, or removal of unused variables, unless these are part of a larger, clearly defined refactor or a dedicated "cleanup" Pull Request that addresses a specific `good first issue` or maintenance task.
- **Issue Association:** For any significant change, it's highly recommended to open an issue first to discuss the proposed solution with the community and maintainers. This ensures alignment and avoids duplicated effort. If your PR resolves an existing issue, please link it in the description (e.g., `Fixes #123`, `Closes #456`).
- **Large Features:** Pull Requests that introduce very large or broad features **will not be accepted** unless the idea is first outlined and discussed in a GitHub issue. Large features should be designed together with the Dokploy team so the project stays coherent and moves in the same direction. Open an issue to propose and align on the design before implementing.

Thank you for your contribution!

Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# syntax=docker/dockerfile:1
FROM node:20.16.0-slim AS base
FROM node:24.4.0-slim AS base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
RUN corepack prepare pnpm@9.12.0 --activate
RUN corepack prepare pnpm@10.22.0 --activate

FROM base AS build
COPY . /usr/src/app
Expand All @@ -20,7 +20,7 @@ ENV NODE_ENV=production
RUN pnpm --filter=@dokploy/server build
RUN pnpm --filter=./apps/dokploy run build

RUN pnpm --filter=./apps/dokploy --prod deploy /prod/dokploy
RUN pnpm --filter=./apps/dokploy --prod deploy --legacy /prod/dokploy

RUN cp -R /usr/src/app/apps/dokploy/.next /prod/dokploy/.next
RUN cp -R /usr/src/app/apps/dokploy/dist /prod/dokploy/dist
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.cloud
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# syntax=docker/dockerfile:1
FROM node:20.16.0-slim AS base
FROM node:24.4.0-slim AS base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
RUN corepack prepare pnpm@9.12.0 --activate
RUN corepack prepare pnpm@10.22.0 --activate

FROM base AS build
COPY . /usr/src/app
Expand All @@ -29,7 +29,7 @@ ENV NODE_ENV=production
RUN pnpm --filter=@dokploy/server build
RUN pnpm --filter=./apps/dokploy run build

RUN pnpm --filter=./apps/dokploy --prod deploy /prod/dokploy
RUN pnpm --filter=./apps/dokploy --prod deploy --legacy /prod/dokploy

RUN cp -R /usr/src/app/apps/dokploy/.next /prod/dokploy/.next
RUN cp -R /usr/src/app/apps/dokploy/dist /prod/dokploy/dist
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.schedule
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# syntax=docker/dockerfile:1
FROM node:20.16.0-slim AS base
FROM node:24.4.0-slim AS base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
RUN corepack prepare pnpm@9.12.0 --activate
RUN corepack prepare pnpm@10.22.0 --activate

FROM base AS build
COPY . /usr/src/app
Expand All @@ -20,7 +20,7 @@ ENV NODE_ENV=production
RUN pnpm --filter=@dokploy/server build
RUN pnpm --filter=./apps/schedules run build

RUN pnpm --filter=./apps/schedules --prod deploy /prod/schedules
RUN pnpm --filter=./apps/schedules --prod deploy --legacy /prod/schedules

RUN cp -R /usr/src/app/apps/schedules/dist /prod/schedules/dist

Expand Down
6 changes: 3 additions & 3 deletions Dockerfile.server
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# syntax=docker/dockerfile:1
FROM node:20.16.0-slim AS base
FROM node:24.4.0-slim AS base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
RUN corepack enable
RUN corepack prepare pnpm@9.12.0 --activate
RUN corepack prepare pnpm@10.22.0 --activate

FROM base AS build
COPY . /usr/src/app
Expand All @@ -20,7 +20,7 @@ ENV NODE_ENV=production
RUN pnpm --filter=@dokploy/server build
RUN pnpm --filter=./apps/api run build

RUN pnpm --filter=./apps/api --prod deploy /prod/api
RUN pnpm --filter=./apps/api --prod deploy --legacy /prod/api

RUN cp -R /usr/src/app/apps/api/dist /prod/api/dist

Expand Down
15 changes: 8 additions & 7 deletions apps/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,35 @@
"type": "module",
"scripts": {
"dev": "PORT=4000 tsx watch src/index.ts",
"build": "tsc --project tsconfig.json",
"build": "rimraf dist && tsc --project tsconfig.json",
"start": "node dist/index.js",
"typecheck": "tsc --noEmit"
},
"dependencies": {
"inngest": "3.40.1",
"@dokploy/server": "workspace:*",
"@hono/node-server": "^1.14.3",
"@hono/zod-validator": "0.3.0",
"@hono/zod-validator": "0.7.6",
"dotenv": "^16.4.5",
"hono": "^4.11.7",
"pino": "9.4.0",
"pino-pretty": "11.2.2",
"react": "18.2.0",
"react-dom": "18.2.0",
"redis": "4.7.0",
"zod": "^3.25.76"
"zod": "^4.3.6"
},
"devDependencies": {
"@types/node": "^20.16.0",
"@types/node": "^24.4.0",
"@types/react": "^18.2.37",
"@types/react-dom": "^18.2.15",
"rimraf": "6.1.3",
"tsx": "^4.16.2",
"typescript": "^5.8.3"
},
"packageManager": "pnpm@9.12.0",
"packageManager": "pnpm@10.22.0",
"engines": {
"node": "^20.16.0",
"pnpm": ">=9.12.0"
"node": "^24.4.0",
"pnpm": ">=10.22.0"
}
}
1 change: 0 additions & 1 deletion apps/dokploy/.nvmrc

This file was deleted.

3 changes: 3 additions & 0 deletions apps/dokploy/__test__/deploy/application.command.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ vi.mock("@dokploy/server/db", () => {
applications: {
findFirst: vi.fn(),
},
patch: {
findMany: vi.fn().mockResolvedValue([]),
},
},
},
};
Expand Down
3 changes: 3 additions & 0 deletions apps/dokploy/__test__/deploy/application.real.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ vi.mock("@dokploy/server/db", () => {
applications: {
findFirst: vi.fn(),
},
patch: {
findMany: vi.fn().mockResolvedValue([]),
},
},
},
};
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { zodResolver } from "@hookform/resolvers/zod";
import { standardSchemaResolver as zodResolver } from "@hookform/resolvers/standard-schema";
import { Server } from "lucide-react";
import Link from "next/link";
import { useEffect } from "react";
Expand Down Expand Up @@ -73,7 +73,7 @@ export const ShowClusterSettings = ({ id, type }: Props) => {
mongo: () => api.mongo.update.useMutation(),
};

const { mutateAsync, isLoading } = mutationMap[type]
const { mutateAsync, isPending } = mutationMap[type]
? mutationMap[type]()
: api.mongo.update.useMutation();

Expand Down Expand Up @@ -236,7 +236,7 @@ export const ShowClusterSettings = ({ id, type }: Props) => {
)}

<div className="flex justify-end">
<Button isLoading={isLoading} type="submit" className="w-fit">
<Button isLoading={isPending} type="submit" className="w-fit">
Save
</Button>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { zodResolver } from "@hookform/resolvers/zod";
import { standardSchemaResolver as zodResolver } from "@hookform/resolvers/standard-schema";
import { useEffect, useState } from "react";
import { useForm } from "react-hook-form";
import { toast } from "sonner";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { zodResolver } from "@hookform/resolvers/zod";
import { standardSchemaResolver as zodResolver } from "@hookform/resolvers/standard-schema";
import { useEffect, useState } from "react";
import { useForm } from "react-hook-form";
import { toast } from "sonner";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { zodResolver } from "@hookform/resolvers/zod";
import { standardSchemaResolver as zodResolver } from "@hookform/resolvers/standard-schema";
import { useEffect, useState } from "react";
import { useFieldArray, useForm } from "react-hook-form";
import { toast } from "sonner";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { zodResolver } from "@hookform/resolvers/zod";
import { standardSchemaResolver as zodResolver } from "@hookform/resolvers/standard-schema";
import { useEffect, useState } from "react";
import { useFieldArray, useForm } from "react-hook-form";
import { toast } from "sonner";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { zodResolver } from "@hookform/resolvers/zod";
import { standardSchemaResolver as zodResolver } from "@hookform/resolvers/standard-schema";
import { useEffect, useState } from "react";
import { useForm } from "react-hook-form";
import { toast } from "sonner";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { zodResolver } from "@hookform/resolvers/zod";
import { standardSchemaResolver as zodResolver } from "@hookform/resolvers/standard-schema";
import { useEffect, useState } from "react";
import { useForm } from "react-hook-form";
import { toast } from "sonner";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { zodResolver } from "@hookform/resolvers/zod";
import { standardSchemaResolver as zodResolver } from "@hookform/resolvers/standard-schema";
import { useEffect, useState } from "react";
import { useForm } from "react-hook-form";
import { toast } from "sonner";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { zodResolver } from "@hookform/resolvers/zod";
import { standardSchemaResolver as zodResolver } from "@hookform/resolvers/standard-schema";
import { useEffect, useState } from "react";
import { useForm } from "react-hook-form";
import { toast } from "sonner";
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { zodResolver } from "@hookform/resolvers/zod";
import { standardSchemaResolver as zodResolver } from "@hookform/resolvers/standard-schema";
import { Plus, Trash2 } from "lucide-react";
import { useEffect } from "react";
import { useFieldArray, useForm } from "react-hook-form";
Expand Down Expand Up @@ -50,7 +50,7 @@ export const AddCommand = ({ applicationId }: Props) => {

const utils = api.useUtils();

const { mutateAsync, isLoading } = api.application.update.useMutation();
const { mutateAsync, isPending } = api.application.update.useMutation();

const form = useForm<AddCommand>({
defaultValues: {
Expand Down Expand Up @@ -177,7 +177,7 @@ export const AddCommand = ({ applicationId }: Props) => {
</div>
</div>
<div className="flex justify-end">
<Button isLoading={isLoading} type="submit" className="w-fit">
<Button isLoading={isPending} type="submit" className="w-fit">
Save
</Button>
</div>
Expand Down
Loading