Commit 705ca227 authored by nanahira's avatar nanahira

fix

parent 02ae07ed
...@@ -226,18 +226,17 @@ class InventoryBuilder { ...@@ -226,18 +226,17 @@ class InventoryBuilder {
volumes: ['./route-plans:/usr/src/app/route-plans:ro'], volumes: ['./route-plans:/usr/src/app/route-plans:ro'],
command: '/usr/src/app/gateway-monitor.sh' command: '/usr/src/app/gateway-monitor.sh'
}, },
babeld: { }
};
if (!host.sysBird) {
host.dockerServices.services.babeld = {
restart: 'always', restart: 'always',
image: 'git-registry.mycard.moe/railgun/babeld', image: 'git-registry.mycard.moe/railgun/babeld',
network_mode: 'host', network_mode: 'host',
//cap_add: ['NET_ADMIN'], //cap_add: ['NET_ADMIN'],
privileged: true, privileged: true,
volumes: ['./babeld.conf:/etc/babeld.conf:ro'] volumes: ['./babeld.conf:/etc/babeld.conf:ro']
}
}
}; };
if (host.sysBird) {
delete host.dockerServices.babeld;
} }
host.frpsNeeded = false; host.frpsNeeded = false;
const null_connection = '10000,null'; const null_connection = '10000,null';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment