Commit d2b4c269 authored by nanahira's avatar nanahira

fix

parent 4f990180
...@@ -293,7 +293,7 @@ class InventoryBuilder { ...@@ -293,7 +293,7 @@ class InventoryBuilder {
}; };
if (host.arch !== 'arm') { if (host.arch !== 'arm') {
for (const gateway of redirectAvailableGateways.filter(gw => gw.warp)) { for (const gateway of redirectAvailableGateways.filter(gw => gw.warp)) {
host.dockerServices[`warp-${gateway.isp}`] = { host.dockerServices.services[`warp-${gateway.isp}`] = {
restart: 'always', restart: 'always',
image: 'git-registry.mycard.moe/nanahira/warp-proxy', image: 'git-registry.mycard.moe/nanahira/warp-proxy',
ports: [`127.0.0.1:${gateway.redirectServerPort - 2000}:8080`], ports: [`127.0.0.1:${gateway.redirectServerPort - 2000}:8080`],
......
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