mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
revert: go back to swarm init config
This commit is contained in:
@@ -5,7 +5,10 @@ export const initializeSwarm = async () => {
|
||||
if (swarmInitialized) {
|
||||
console.log("Swarm is already initilized");
|
||||
} else {
|
||||
await docker.swarmInit({});
|
||||
await docker.swarmInit({
|
||||
AdvertiseAddr: "127.0.0.1",
|
||||
ListenAddr: "0.0.0.0",
|
||||
});
|
||||
console.log("Swarm was initilized");
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user