mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-02-12 11:01:52 +00:00
Merge branch 'master' into improve-docker-compose-samples
This commit is contained in:
commit
1237304d4f
2 changed files with 30 additions and 31 deletions
29
docker/BUILD.md
Normal file
29
docker/BUILD.md
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# How to create a docker image for meshcentral
|
||||||
|
|
||||||
|
```
|
||||||
|
> git clone https://github.com/Ylianst/MeshCentral.git
|
||||||
|
> cd MeshCentral
|
||||||
|
|
||||||
|
> docker build -f docker/Dockerfile --force-rm -t meshcentral .
|
||||||
|
|
||||||
|
# alternative, if you want to include the mongodb-tools (mongodump, ...), you can add the 'INCLUDE_MONGODBTOOLS=yes' build argument
|
||||||
|
> docker build -f docker/Dockerfile --force-rm --build-arg INCLUDE_MONGODBTOOLS=yes -t meshcentral .
|
||||||
|
|
||||||
|
# (optional) cleanup after docker build:
|
||||||
|
> cd ..
|
||||||
|
> rm -rf MeshCentral/
|
||||||
|
```
|
||||||
|
|
||||||
|
> | Argument | Description |
|
||||||
|
> | :--- | :--- |
|
||||||
|
> | -f docker/Dockerfile | Path/Name of the Dockerfile |
|
||||||
|
> | --force-rm | Always remove intermediate containers |
|
||||||
|
> | -t meshcentral | Name and optionally a tag in the 'name:tag' format |
|
||||||
|
|
||||||
|
### Optional build arguments
|
||||||
|
> | Argument | Description |
|
||||||
|
> | :--- | :--- |
|
||||||
|
> | INCLUDE_MONGODBTOOLS=yes | Includes mongodb-tools (mongodump, ...) in the image |
|
||||||
|
> | DISABLE_MINIFY=yes | Disables the minification of files |
|
||||||
|
> | DISABLE_TRANSLATE=yes | Disables the translation of files |
|
||||||
|
|
|
@ -1,33 +1,3 @@
|
||||||
|
|
||||||
# How to create a docker image for meshcentral
|
|
||||||
|
|
||||||
```
|
|
||||||
> git clone https://github.com/Ylianst/MeshCentral.git
|
|
||||||
> cd MeshCentral
|
|
||||||
|
|
||||||
> docker build -f docker/Dockerfile --force-rm -t meshcentral .
|
|
||||||
|
|
||||||
# alternative, if you want to include the mongodb-tools (mongodump, ...), you can add the 'INCLUDE_MONGODBTOOLS=yes' build argument
|
|
||||||
> docker build -f docker/Dockerfile --force-rm --build-arg INCLUDE_MONGODBTOOLS=yes -t meshcentral .
|
|
||||||
|
|
||||||
# (optional) cleanup after docker build:
|
|
||||||
> cd ..
|
|
||||||
> rm -rf MeshCentral/
|
|
||||||
```
|
|
||||||
|
|
||||||
> | Argument | Description |
|
|
||||||
> | :--- | :--- |
|
|
||||||
> | -f docker/Dockerfile | Path/Name of the Dockerfile |
|
|
||||||
> | --force-rm | Always remove intermediate containers |
|
|
||||||
> | -t meshcentral | Name and optionally a tag in the 'name:tag' format |
|
|
||||||
|
|
||||||
### Optional build arguments
|
|
||||||
> | Argument | Description |
|
|
||||||
> | :--- | :--- |
|
|
||||||
> | INCLUDE_MONGODBTOOLS=yes | Includes mongodb-tools (mongodump, ...) in the image |
|
|
||||||
> | DISABLE_MINIFY=yes | Disables the minification of files |
|
|
||||||
> | DISABLE_TRANSLATE=yes | Disables the translation of files |
|
|
||||||
|
|
||||||
# Create folder-structure and files
|
# Create folder-structure and files
|
||||||
|
|
||||||
```
|
```
|
||||||
|
@ -62,7 +32,7 @@ REVERSE_PROXY_TLS_PORT=
|
||||||
IFRAME=false
|
IFRAME=false
|
||||||
# set to false if you want disable self-service creation of new accounts besides the first (admin)
|
# set to false if you want disable self-service creation of new accounts besides the first (admin)
|
||||||
ALLOW_NEW_ACCOUNTS=true
|
ALLOW_NEW_ACCOUNTS=true
|
||||||
# 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
|
# set to true to enable WebRTC - per documentation it is not officially released with meshcentral and currently experimental. Use with caution
|
||||||
WEBRTC=false
|
WEBRTC=false
|
||||||
# set to true to allow plugins
|
# set to true to allow plugins
|
||||||
ALLOWPLUGINS=false
|
ALLOWPLUGINS=false
|
||||||
|
|
Loading…
Reference in a new issue