Both sides previous revision Previous revision Next revision | Previous revision |
laptopwiki:guides:docker:meshcentral [07/03/2025 15:23] – dustojnikhummer | laptopwiki:guides:docker:meshcentral [08/03/2025 18:58] (current) – external edit 127.0.0.1 |
---|
==== So what are we changing and why? ==== | ==== So what are we changing and why? ==== |
| |
* TLDR: * Mesh Central uses a self signed certificate to talk to clients. | * TLDR: |
| * Mesh Central uses a self signed certificate to talk to clients. |
* Since ours is behind NPM it can't communicate directly and hashes won't match. | * Since ours is behind NPM it can't communicate directly and hashes won't match. |
* We need to tell it to instead use NPM's certificate | * We need to tell it to instead use NPM's certificate |
- "TLSOffload": "nginx-proxy-manager" - set Docker hostname or IP address of your NPM installation, don't put port here | - "TLSOffload": "nginx-proxy-manager" - set Docker hostname or IP address of your NPM installation, don't put port here |
- "port": 443, - change if you don't use 443. If your NPM isn't on the same docker host this should be the exposed port (for example 8786) but I haven't tested it so I don't really know. | - "port": 443, - change if you don't use 443. If your NPM isn't on the same docker host this should be the exposed port (for example 8786) but I haven't tested it so I don't really know. |
- "certUrl": "https://meshcentral.laptopwiki.eu:443" - Public FQDN of your Mesh Central server, including the port | - "certUrl": "https://meshcentral.laptopwiki.eu:443" - Public FQDN of your Mesh Central server, including the port * Save the file (Press Ctrl+O and Enter to save changes and Ctrl+X to exit Nano) \ * Start the Docker Compose project ''sudo docker compose up -d '' // |
* Save the file (Press Ctrl+O and Enter to save changes and Ctrl+X to exit Nano) \ | |
* Start the Docker Compose project ''sudo docker compose up -d '' | |
===== NGINX Proxy Manager ===== | ===== NGINX Proxy Manager ===== |
- Add a new Proxy host as you would with any other Docker container \\ {{:laptopwiki:guides:docker:meshcentral_npm1.png?400}} | - Add a new Proxy host as you would with any other Docker container \\ {{:laptopwiki:guides:docker:meshcentral_npm1.png?400}} |