From b241aa1b32c02026f05a17f17ff605a71b8723f6 Mon Sep 17 00:00:00 2001 From: Dobromir Popov Date: Thu, 9 Jul 2026 09:21:56 +0200 Subject: [PATCH] ws internet deploy!!! --- _DEV_NOTES.md | 2 ++ deploy/portainer/README.md | 13 +++++++++++-- deploy/portainer/meshnet-relay-only-stack.yml | 2 +- deploy/portainer/meshnet-tracker-nobuild-stack.yml | 4 ++-- deploy/portainer/meshnet-tracker-stack.yml | 2 +- 5 files changed, 17 insertions(+), 6 deletions(-) diff --git a/_DEV_NOTES.md b/_DEV_NOTES.md index 6dc95ed..fe4ba13 100644 --- a/_DEV_NOTES.md +++ b/_DEV_NOTES.md @@ -25,6 +25,8 @@ # linux HF_HOME=/run/media/popov/d/DEV/models .venv/bin/meshnet-node start --model-id Qwen/Qwen2.5-0.5B-Instruct --shard-start 0 --shard-end 21 --quantization bfloat16 --tracker http://localhost:8081 +PS D:\DEV\workspace\REPOS\git.d-popov.com\neuron-tai> meshnet-node.exe start --tracker http://192.168.0.179:8080 --model Qwen/Qwen2.5-0.5B-Instruct --shard-start 0 --shard-end 20 +PS D:\DEV\workspace\REPOS\git.d-popov.com\neuron-tai> meshnet-node.exe start --tracker https://meshnet.2.d-popov.com --model Qwen/Qwen2.5-0.5B-Instruct # win meshnet-node start --tracker http://ai.neuron.d-popov.com --model Qwen/Qwen2.5-0.5B-Instruct --shard-start 10 meshnet-node start --tracker http://192.168.0.179:8081 --model Qwen/Qwen2.5-0.5B-Instruct --shard-start 10 diff --git a/deploy/portainer/README.md b/deploy/portainer/README.md index 8677c8d..653cd11 100644 --- a/deploy/portainer/README.md +++ b/deploy/portainer/README.md @@ -37,7 +37,7 @@ Required Portainer environment variables: ```text SOURCE_TARBALL_URL=https://git.d-popov.com/popov/neuron-tai/archive/master.tar.gz PUBLIC_TRACKER_URL=https://ai.neuron.d-popov.com -PUBLIC_PROXY_NETWORK=npm_proxy +PUBLIC_PROXY_NETWORK=proxy_net ``` If your Gitea archive URL requires auth, either make an alpha release tarball downloadable to the Portainer host, or move to Option B and push a container image. @@ -159,6 +159,15 @@ If the package is private, configure Portainer registry credentials for `git.d-p ## Nginx Proxy Manager routing +Use the Docker bridge network that your reverse proxy is already attached to. +From the current Portainer network list, use: + +```text +PUBLIC_PROXY_NETWORK=proxy_net +``` + +Do **not** use Docker's `host` network for the normal Portainer/Nginx Proxy Manager setup. The stack relies on Docker DNS names such as `meshnet-tracker`, and those work when the tracker and reverse proxy share a bridge network like `proxy_net`. Host networking is only useful for a special manual deployment where the container binds directly on the host and the proxy forwards to `127.0.0.1:` or the host IP; that is less isolated and needs different compose settings (`network_mode: host`, no `networks:` block, and usually no service-name DNS). + Create one Proxy Host for the public tracker domain. Default location `/`: @@ -193,7 +202,7 @@ For both stacks: ```text PUBLIC_TRACKER_URL=https://ai.neuron.d-popov.com -PUBLIC_PROXY_NETWORK=npm_proxy +PUBLIC_PROXY_NETWORK=proxy_net ``` For `meshnet-tracker-nobuild-stack.yml` only: diff --git a/deploy/portainer/meshnet-relay-only-stack.yml b/deploy/portainer/meshnet-relay-only-stack.yml index 280e13e..746ca47 100644 --- a/deploy/portainer/meshnet-relay-only-stack.yml +++ b/deploy/portainer/meshnet-relay-only-stack.yml @@ -32,4 +32,4 @@ services: networks: public-proxy: external: true - name: ${PUBLIC_PROXY_NETWORK:-npm_proxy} + name: ${PUBLIC_PROXY_NETWORK:-proxy_net} diff --git a/deploy/portainer/meshnet-tracker-nobuild-stack.yml b/deploy/portainer/meshnet-tracker-nobuild-stack.yml index 441c8a7..8c44cda 100644 --- a/deploy/portainer/meshnet-tracker-nobuild-stack.yml +++ b/deploy/portainer/meshnet-tracker-nobuild-stack.yml @@ -8,7 +8,7 @@ # Required Portainer variables: # SOURCE_TARBALL_URL URL to a .tar.gz archive of this repo # PUBLIC_TRACKER_URL e.g. https://cloud.neuron.d-popov.com -# PUBLIC_PROXY_NETWORK Docker network shared with nginx/NPM, e.g. npm_proxy +# PUBLIC_PROXY_NETWORK Docker network shared with nginx/NPM, e.g. proxy_net # # Optional: # CLUSTER_PEERS e.g. https://ai.neuron.d-popov.com @@ -120,4 +120,4 @@ volumes: networks: public-proxy: external: true - name: ${PUBLIC_PROXY_NETWORK:-npm_proxy} + name: ${PUBLIC_PROXY_NETWORK:-proxy_net} diff --git a/deploy/portainer/meshnet-tracker-stack.yml b/deploy/portainer/meshnet-tracker-stack.yml index c494a09..46e9740 100644 --- a/deploy/portainer/meshnet-tracker-stack.yml +++ b/deploy/portainer/meshnet-tracker-stack.yml @@ -92,4 +92,4 @@ volumes: networks: public-proxy: external: true - name: ${PUBLIC_PROXY_NETWORK:-npm_proxy} + name: ${PUBLIC_PROXY_NETWORK:-proxy_net}