From 629871e68372913d7b5290b23c37016c1974fbcb Mon Sep 17 00:00:00 2001 From: Mauricio Siu <47042324+Siumauricio@users.noreply.github.com> Date: Thu, 10 Oct 2024 21:22:13 -0600 Subject: [PATCH] refactor: add option to ci/cd --- .github/workflows/deploy.yml | 2 +- apps/dokploy/.env.example | 4 +--- apps/dokploy/server/server.ts | 2 +- 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index da8a210da..677bbfc37 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,4 +1,4 @@ -name: Build Docs & Website Docker images +name: Build Docker images on: push: diff --git a/apps/dokploy/.env.example b/apps/dokploy/.env.example index 9cf77abfe..ba57ec7be 100644 --- a/apps/dokploy/.env.example +++ b/apps/dokploy/.env.example @@ -1,5 +1,3 @@ DATABASE_URL="postgres://dokploy:amukds4wi9001583845717ad2@localhost:5432/dokploy" PORT=3000 -NODE_ENV=development -IS_CLOUD="true" -SERVER_URL="http://localhost:4000" \ No newline at end of file +NODE_ENV=development \ No newline at end of file diff --git a/apps/dokploy/server/server.ts b/apps/dokploy/server/server.ts index 8ab7d421a..0c29975f1 100644 --- a/apps/dokploy/server/server.ts +++ b/apps/dokploy/server/server.ts @@ -25,7 +25,7 @@ import { setupTerminalWebSocketServer, } from "./wss/terminal"; -config({ path: ".env" }); +config({ path: ".env", override: true }); const PORT = Number.parseInt(process.env.PORT || "3000", 10); const dev = process.env.NODE_ENV !== "production"; const app = next({ dev });