mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-18 18:05:18 +00:00
feat: add completion message and exit process after Dokploy setup
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
import { exit } from "node:process";
|
||||||
import { execAsync } from "@dokploy/server";
|
import { execAsync } from "@dokploy/server";
|
||||||
import { setupDirectories } from "@dokploy/server/setup/config-paths";
|
import { setupDirectories } from "@dokploy/server/setup/config-paths";
|
||||||
import { initializePostgres } from "@dokploy/server/setup/postgres-setup";
|
import { initializePostgres } from "@dokploy/server/setup/postgres-setup";
|
||||||
@@ -25,6 +26,8 @@ import {
|
|||||||
await initializeStandaloneTraefik();
|
await initializeStandaloneTraefik();
|
||||||
await initializeRedis();
|
await initializeRedis();
|
||||||
await initializePostgres();
|
await initializePostgres();
|
||||||
|
console.log("Dokploy setup completed");
|
||||||
|
exit(0);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error("Error in dokploy setup", e);
|
console.error("Error in dokploy setup", e);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user