mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: add option to ci/cd
This commit is contained in:
2
.github/workflows/deploy.yml
vendored
2
.github/workflows/deploy.yml
vendored
@@ -1,4 +1,4 @@
|
|||||||
name: Build Docs & Website Docker images
|
name: Build Docker images
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
DATABASE_URL="postgres://dokploy:amukds4wi9001583845717ad2@localhost:5432/dokploy"
|
DATABASE_URL="postgres://dokploy:amukds4wi9001583845717ad2@localhost:5432/dokploy"
|
||||||
PORT=3000
|
PORT=3000
|
||||||
NODE_ENV=development
|
NODE_ENV=development
|
||||||
IS_CLOUD="true"
|
|
||||||
SERVER_URL="http://localhost:4000"
|
|
||||||
@@ -25,7 +25,7 @@ import {
|
|||||||
setupTerminalWebSocketServer,
|
setupTerminalWebSocketServer,
|
||||||
} from "./wss/terminal";
|
} from "./wss/terminal";
|
||||||
|
|
||||||
config({ path: ".env" });
|
config({ path: ".env", override: true });
|
||||||
const PORT = Number.parseInt(process.env.PORT || "3000", 10);
|
const PORT = Number.parseInt(process.env.PORT || "3000", 10);
|
||||||
const dev = process.env.NODE_ENV !== "production";
|
const dev = process.env.NODE_ENV !== "production";
|
||||||
const app = next({ dev });
|
const app = next({ dev });
|
||||||
|
|||||||
Reference in New Issue
Block a user