mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: remove listen address of swarm initialize
This commit is contained in:
parent
744f800700
commit
42e9aa1834
@ -5,10 +5,7 @@ export const initializeSwarm = async () => {
|
||||
if (swarmInitialized) {
|
||||
console.log("Swarm is already initilized");
|
||||
} else {
|
||||
await docker.swarmInit({
|
||||
AdvertiseAddr: "127.0.0.1",
|
||||
ListenAddr: "0.0.0.0",
|
||||
});
|
||||
await docker.swarmInit({});
|
||||
console.log("Swarm was initilized");
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user