Commit a4dc3393 authored by nanahira's avatar nanahira

cf only

parent d2b4c269
...@@ -296,9 +296,9 @@ class InventoryBuilder { ...@@ -296,9 +296,9 @@ class InventoryBuilder {
host.dockerServices.services[`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`], command: 'sleep infinity',
environment: { environment: {
FORWARD_PROXY_PORT: 8080 LOCAL_PROXY_PORT: gateway.redirectServerPort - 2000
} }
} }
} }
......
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