MCPcopy
hub / github.com/Dokploy/dokploy / removeForwardAuth

Function removeForwardAuth

packages/server/src/setup/forward-auth-setup.ts:139–146  ·  view source on GitHub ↗
(serverId?: string)

Source from the content-addressed store, hash-verified

137};
138
139export const removeForwardAuth = async (serverId?: string) => {
140 const docker = await getRemoteDocker(serverId);
141 try {
142 const service = docker.getService(FORWARD_AUTH_SERVICE_NAME);
143 await service.remove();
144 console.log("Forward Auth Removed ✅");
145 } catch {}
146};
147
148export const isForwardAuthRunning = async (
149 serverId?: string,

Callers 1

removeForwardAuthProxyFunction · 0.90

Calls 1

getRemoteDockerFunction · 0.90

Tested by

no test coverage detected