mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-08 22:48:46 +00:00
added yaml file variable for swarm mode checks
This commit is contained in:
parent
f51e755216
commit
fb883c7b27
4 changed files with 54 additions and 46 deletions
|
@ -44,7 +44,7 @@ export async function servicesFromDocker() {
|
|||
|
||||
const serviceServers = await Promise.all(
|
||||
Object.keys(servers).map(async (serverName) => {
|
||||
const docker = new Docker(getDockerArguments(serverName));
|
||||
const docker = new Docker(getDockerArguments(serverName).conn);
|
||||
const containers = await docker.listContainers({
|
||||
all: true,
|
||||
});
|
||||
|
@ -167,4 +167,4 @@ export default async function getServiceWidget(group, service) {
|
|||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue