Commit 705ca227 authored by nanahira's avatar nanahira

fix

parent 02ae07ed
......@@ -226,18 +226,17 @@ class InventoryBuilder {
volumes: ['./route-plans:/usr/src/app/route-plans:ro'],
command: '/usr/src/app/gateway-monitor.sh'
},
babeld: {
restart: 'always',
image: 'git-registry.mycard.moe/railgun/babeld',
network_mode: 'host',
//cap_add: ['NET_ADMIN'],
privileged: true,
volumes: ['./babeld.conf:/etc/babeld.conf:ro']
}
}
};
if (host.sysBird) {
delete host.dockerServices.babeld;
if (!host.sysBird) {
host.dockerServices.services.babeld = {
restart: 'always',
image: 'git-registry.mycard.moe/railgun/babeld',
network_mode: 'host',
//cap_add: ['NET_ADMIN'],
privileged: true,
volumes: ['./babeld.conf:/etc/babeld.conf:ro']
};
}
host.frpsNeeded = false;
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