ws internet deploy!!!
This commit is contained in:
@@ -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:<port>` 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:
|
||||
|
||||
@@ -32,4 +32,4 @@ services:
|
||||
networks:
|
||||
public-proxy:
|
||||
external: true
|
||||
name: ${PUBLIC_PROXY_NETWORK:-npm_proxy}
|
||||
name: ${PUBLIC_PROXY_NETWORK:-proxy_net}
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -92,4 +92,4 @@ volumes:
|
||||
networks:
|
||||
public-proxy:
|
||||
external: true
|
||||
name: ${PUBLIC_PROXY_NETWORK:-npm_proxy}
|
||||
name: ${PUBLIC_PROXY_NETWORK:-proxy_net}
|
||||
|
||||
Reference in New Issue
Block a user