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:
parent
a237c651c3
commit
629871e683
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:
|
||||
push:
|
||||
|
@ -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"
|
||||
NODE_ENV=development
|
@ -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 });
|
||||
|
Loading…
Reference in New Issue
Block a user