We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2a89be6 + 6b0d924 commit 5ada451Copy full SHA for 5ada451
1 file changed
apps/dokploy/server/api/routers/settings.ts
@@ -837,6 +837,14 @@ export const settingsRouter = createTRPCRouter({
837
getLogCleanupStatus: adminProcedure.query(async () => {
838
return getLogCleanupStatus();
839
}),
840
+
841
+ getDokployCloudIps: adminProcedure.query(async () => {
842
+ if (!IS_CLOUD) {
843
+ return [];
844
+ }
845
+ const ips = process.env.DOKPLOY_CLOUD_IPS?.split(",");
846
+ return ips;
847
+ }),
848
});
849
850
export const getTraefikPorts = async (serverId?: string) => {
0 commit comments