Allow allowedOrigin to be configured on container startup (#6894)

* This allows allowedOrigin to be configured on container startup

* Allow for all forms of allowedOrigin values

* Update readme.md
This commit is contained in:
Edwin Hermans
2025-03-18 20:00:54 -04:00
committed by GitHub
parent 1cecf84b1b
commit 7a33270e9a
4 changed files with 11 additions and 1 deletions

View File

@@ -47,6 +47,9 @@ LOCALSESSIONRECORDING=false
MINIFY=true
# set this value to add extra arguments to meshcentral on startup (e.g --debug ldap)
ARGS=
# set to the hostname(s) meshcentral will be reachable on, or true to disable origin checking
# forms allowed "hostname" or "hostname1,hostname2" or ["hostname1","hostname2"]
ALLOWED_ORIGIN=false
```
## docker-compose.yml