Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
laptopwiki:guides:docker:meshcentral [07/03/2025 15:21] – dustojnikhummer | laptopwiki:guides:docker:meshcentral [08/03/2025 18:58] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 77: | Line 77: | ||
* In this, Mesh Central will use a MongoDB instance to store everything, instead of SQLite | * In this, Mesh Central will use a MongoDB instance to store everything, instead of SQLite | ||
- | * You must change: - Network name to match what your NPM is using, in my case that name is " | + | * You must change: |
- | * You can change * TZ - timezone, so your logs have proper timestamps, follows standardized naming | + | |
+ | * You can change | ||
+ | | ||
* For example, TZ=Europe/ | * For example, TZ=Europe/ | ||
* Storage mounts (I had issues with MeshCentral Volume paths, so that is why I'm using volumes) | * Storage mounts (I had issues with MeshCentral Volume paths, so that is why I'm using volumes) | ||
Line 285: | Line 287: | ||
==== 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: |
+ | | ||
* 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 | ||
Line 292: | Line 295: | ||
- " | - " | ||
- " | - " | ||
- | - " | + | - " |
- | | + | |
- | | + | |
===== NGINX Proxy Manager ===== | ===== NGINX Proxy Manager ===== | ||
- Add a new Proxy host as you would with any other Docker container \\ {{: | - Add a new Proxy host as you would with any other Docker container \\ {{: | ||
Line 301: | Line 304: | ||
proxy_set_header X-Forwarded-Host $host: | proxy_set_header X-Forwarded-Host $host: | ||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; | ||
- | proxy_set_header X-Forwarded-Proto $scheme; proxy_read_timeout 200s; | + | proxy_set_header X-Forwarded-Proto $scheme; |
- | proxy_connect_timeout 200s; proxy_send_timeout 200s; </ | + | proxy_read_timeout 200s; |
+ | proxy_connect_timeout 200s; | ||
+ | proxy_send_timeout 200s; </ | ||
==== If Cloudflare Proxy ===== | ==== If Cloudflare Proxy ===== | ||
- As of August 2023, MeshCentral no longer works through Cloudflare Proxy, see [[https:// | - As of August 2023, MeshCentral no longer works through Cloudflare Proxy, see [[https:// |