Commit Graph

52 Commits

Author SHA1 Message Date
si458 f7c79166da fix dockerfile translate
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-09-10 20:14:08 +01:00
si458 2b5337329a remove minify-js use html-minifier instead #6357
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-09-10 20:01:10 +01:00
Simon Smith ef6fd23a4f
Fix package installs and set node 20 for docker (#5692)
* fix install packages and set docker to node 20

Signed-off-by: si458 <simonsmith5521@gmail.com>

* missed a few no-package-lock and no-save

Signed-off-by: si458 <simonsmith5521@gmail.com>

* use --save-exact and only install missing modules

Signed-off-by: si458 <simonsmith5521@gmail.com>

---------

Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-01-13 10:52:59 -08:00
Stuart Wyatt 64bef74317
Align and specify NPM module versions (#5685)
The Dockerfile specifies NPM modules to be installed.  However, some do not specify a version, so the latest is installed.  Later in meshcentral.js mainStart() specific versions are required.  If they don't match the latest version, all modules will be reinstalled to get the specific versions.

#5684 Soft version conflict on NPM modules causes NPM modules to be installed on startup in Docker
#5545 Docker on Debian 11 fails on version 1.1.15 and 1.1.16 giving NPM errors
#5681 InstallModules() installs all modules, not just missing modules (regression)
2024-01-11 17:49:12 -08:00
Simon Smith 275119fc7d add python to docker image for syslogtcp #5546
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
2024-01-10 12:22:22 +00:00
Oakington 91c83e2622
Allow $ARGS in $REVERSE_PROXY .env (#5628) 2023-12-13 23:35:16 +00:00
Simon Smith 86375207cc add args to docker readme
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
2023-09-24 15:44:34 +00:00
Simon Smith 4c6696c0f7 add run args to docker
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
2023-09-24 15:23:28 +00:00
Simon Smith b0dbbf4b5a
only numbers and letters in session key docker 2023-09-07 17:23:17 +01:00
tryao d2d6e95dd9 fix(docker): allow usage of external mongodb 2023-03-08 11:30:33 +08:00
Sherif Metwally 269d4dfbed
Updated MongoDB client version in Dockerfile
Sync MongoDB version in Dockerfile with main, so no runtime installation happens on launch of Docker container.
2023-02-05 12:01:36 +00:00
Sherif Metwally 27c0a14ec6
Update Dockerfile
preinstall the updated version of mongodb tools `mongodb@4.12.1`
2022-12-22 21:14:07 +00:00
Sherif Metwally 627aa8662f correct config.json schema URL to match github schema location 2022-12-12 11:51:28 +02:00
Sherif Metwally 37e602e689 fix more occurrences of meshcentral-backup typos and minor markdown lint fixes 2022-12-10 09:24:01 +02:00
Simon Schön 1b4deddd07
Added 'yubikeyotp' to pre-installed libraries 2022-11-17 22:49:21 +01:00
Alessandro Uffreduzzi 44affd39bf adjust dockerfile to support multiplatform build 2022-11-16 17:43:00 +01:00
Simon Smith 9d3828302b
use latest mongodb 2022-09-03 10:25:03 +01:00
Ylian Saint-Hilaire 1237304d4f
Merge branch 'master' into improve-docker-compose-samples 2022-08-02 10:28:41 -07:00
Simon Smith 22351762b4 add docker build docs 2022-08-02 13:39:44 +01:00
herwig- be0101d343
modified docker-compose examples to use the official docker image 2022-08-02 14:21:06 +02:00
Simon Smith 69b616bf76
add timezone support to docker 2022-07-31 14:04:16 +01:00
Simon Schön c1401cf6db
[docker] added optional build argument PREINSTALL_LIBS 2022-07-23 13:35:21 +02:00
Simon Schön 558fe0ad64
[docker] added SESSION_KEY environment variable for initial configuration 2022-07-23 13:22:55 +02:00
Simon Schön e913928d78
[docker] added CONFIG_FILE environment variable to optionally use a different config.json file 2022-07-23 13:21:19 +02:00
Simon Schön 6815c5d83d
[docker] changed baseimage to alpine:latest 2022-07-23 13:17:05 +02:00
Simon Smith d7e59b4868 fix dockerfile 2022-07-22 17:50:33 +01:00
Simon Smith 456b876ff7 add docker release action 2022-07-22 16:21:29 +01:00
Simon Schön e44c21fa36
[docker] added argument '--help' to docker.build.sh script 2022-07-02 19:54:15 +02:00
Simon Schön 3347646178
[docker] added arguments '--log' and '--no-tags' to docker.build.sh script 2022-07-02 19:51:23 +02:00
Simon Schön cd5fabf53e
[docker] forward arguments to 'docker build' command 2022-07-02 19:50:07 +02:00
Simon Schön 2a179e76a5 added version-tag to docker image 2022-06-10 13:27:17 +02:00
Simon Schön cf553d1a0f bugfix: run 'node translate.js extractall' only when DISABLE_TRANSLATE is not set 2022-06-09 21:25:01 +02:00
Simon Schön 0ce81a3f54 added docker build script 2022-06-08 17:16:56 +02:00
Simon Schön 18d9e86352 added optional build arguments to docker/readme.md 2022-06-08 14:48:08 +02:00
Simon Schön 5c8f8c611f added build arguments to optionally disable minification/translation of files 2022-06-08 14:21:23 +02:00
Simon Schön dc1b4f5ce2 optimized Dockerfile for ci/cd pipelines 2022-06-08 02:46:40 +02:00
Simon Schön 0b11aa9392 changed installation of mongodb-tools to optional 2022-06-07 14:56:02 +02:00
Simon Schön 908059a6f5 changed baseimage to alpine; exposed intel amt port (4433) 2022-06-07 14:53:16 +02:00
Simon Schön e17e181d5b added mongodb-service to docker-compose.yml (readme.md) 2022-06-06 19:44:13 +02:00
Simon Schön 11c3484c97 added volumes for advanced site customization and backups 2022-06-06 19:40:49 +02:00
Simon Schön bdb244b8d3 added mongodb-tools (mongodump) for autoBackup-option 2022-06-06 19:40:16 +02:00
Simon Schön 118044bcf3 use meshcentral files from local repository instead of the npm module 2022-06-06 19:39:36 +02:00
Simon Smith 915fb3bf15
Update Dockerfile
switch to node slim, 50% file size reduction!
2022-05-21 21:29:40 +01:00
Einar Stenberg 259c3ef66c add more options to as ENV settings 2021-12-12 22:06:56 +01:00
Einar Stenberg c81be50a6f
add nedb dependency to docker image
fixes problems with plugins as referenced here https://github.com/ryanblenis/MeshCentral-ScriptTask/issues/23
2021-12-12 22:04:21 +01:00
Einar Stenberg bf4345efbd
Update readme.md 2021-11-02 15:37:43 +01:00
Einar Stenberg 6e5e77f547
Update readme.md 2021-11-02 15:37:06 +01:00
Einar Stenberg ec1e1d631f
Update readme.md 2021-11-02 15:33:49 +01:00
Einar Stenberg 7cf3ad1e58
Create readme.md 2021-11-02 15:32:15 +01:00
Einar Stenberg 7eb4b80945
Update and rename Dockerfile to docker/Dockerfile 2021-11-02 15:31:56 +01:00