fix: remote traefik webhook

This commit is contained in:
Andras Bacsai
2022-07-22 20:23:16 +00:00
parent c0e513127d
commit bb2864a83f
8 changed files with 339 additions and 20 deletions

View File

@@ -1,4 +1,4 @@
import { asyncExecShell, executeDockerCmd } from './common';
import { executeDockerCmd } from './common';
import Dockerode from 'dockerode';
export function getEngine(engine: string): string {
return engine === '/var/run/docker.sock' ? 'unix:///var/run/docker.sock' : engine;