mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
add more options to as ENV settings
This commit is contained in:
parent
c81be50a6f
commit
259c3ef66c
3 changed files with 14 additions and 6 deletions
|
@ -9,14 +9,14 @@ docker build -t meshcentral .
|
|||
|
||||
docker-compose.yml example:
|
||||
```yaml
|
||||
version: '2'
|
||||
version: '3'
|
||||
services:
|
||||
meshcentral:
|
||||
restart: always
|
||||
container_name: meshcentral
|
||||
image: meshcentral
|
||||
image: einar/meshcentral
|
||||
ports:
|
||||
- 443:443 #MeshCentral will moan and try everything not to use port 80, but you can also use it if you so desire, just change the config.json according to your needs
|
||||
- 8086:443 #MeshCentral will moan and try everything not to use port 80, but you can also use it if you so desire, just change the config.json according to your needs
|
||||
environment:
|
||||
- HOSTNAME=my.domain.com #your hostname
|
||||
- REVERSE_PROXY=false #set to your reverse proxy IP if you want to put meshcentral behind a reverse proxy
|
||||
|
@ -24,6 +24,9 @@ services:
|
|||
- IFRAME=false #set to true if you wish to enable iframe support
|
||||
- ALLOW_NEW_ACCOUNTS=true #set to false if you want disable self-service creation of new accounts besides the first (admin)
|
||||
- WEBRTC=false #set to true to enable WebRTC - per documentation it is not officially released with meshcentral, but is solid enough to work with. Use with caution
|
||||
- ALLOWPLUGINS=false #set to true to allow plugins
|
||||
- LOCALSESSIONRECORDING=false # set to true to allow session recording
|
||||
- MINIFY=true #set to enable or disable minification of json, reduces traffic
|
||||
volumes:
|
||||
- ./meshcentral/data:/opt/meshcentral/meshcentral-data #config.json and other important files live here. A must for data persistence
|
||||
- ./meshcentral/user_files:/opt/meshcentral/meshcentral-files #where file uploads for users live
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue