si458
960326ab40
remove semver dependency for plugins
...
Signed-off-by: si458 <simonsmith5521@gmail.com>
2025-06-10 18:01:42 +01:00
Simon Smith
b1876f0fcf
few more docker clean ups to make smaller size
...
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
2025-06-09 19:20:53 +01:00
Simon Smith
108a297b84
speed up docker build github actions
...
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
2025-06-09 18:00:02 +01:00
DaanSelen
5044339c80
Docker hotfix for npm modules ( #7075 )
...
* Added Dockerfile improvements for parsing and building
* Downgraded versions to match meshcentral.js
* removed unneeded removal
* syntax fix.
* added label
* Overwritten error fix.
* Remove label
2025-06-09 12:23:57 +01:00
si458
28b31b2476
use html-minifier-terser instead for translate and fix translate multi-threaded
...
Signed-off-by: si458 <simonsmith5521@gmail.com>
2025-06-08 22:50:22 +01:00
DaanSelen
d533cc377b
Dockerfix ( #7074 )
...
* Added Dockerfile improvements for parsing and building
* Downgraded versions to match meshcentral.js
* removed unneeded removal
* syntax fix.
2025-06-02 14:26:20 +01:00
DaanSelen
ae0aa7e9ac
Merge branch 'master' into dockerrewrite
2025-05-28 15:09:25 +02:00
Simon Smith
cf183cfdae
update packages in docker image
...
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
2025-05-28 12:17:41 +01:00
Daan
6bb6b186ce
Added mysql dependency
2025-05-19 17:52:23 +02:00
Daan Selen
5d18a1ad71
Added default exposure of non-encrypted http port.
2025-05-19 12:14:46 +02:00
DaanSelen
6eacc9f312
Merge branch 'master' into dockerrewrite
2025-05-19 11:32:18 +02:00
Daan
5d47415edb
added npm install and removed saslprep dependency.
2025-05-18 19:46:54 +02:00
Daan
d864789451
bump version
2025-05-18 19:05:32 +02:00
Simon Smith
4fc921c14f
upgrade mongodb+image-size, fix package installs again, stop docker installing translate packages
...
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
2025-05-18 17:01:14 +01:00
Daan
b7512b9bed
Disable dynamic config feature by default.
2025-04-13 11:59:34 +02:00
Daan
8c5c319323
Pinning to Alpine 3.21
2025-04-12 22:19:22 +02:00
Daan Selen
ecd32fa665
Pinning LTS version.
2025-04-09 16:07:13 +02:00
Daan Selen
23c8c4999b
Compression of build arguments and environment variables.
2025-04-09 15:53:16 +02:00
Daan Selen
db7eacbca3
Added trustedproxy to dynamic config feature.
2025-03-25 15:13:46 +01:00
Daan Selen
3919c12d64
Finishing up.
2025-03-24 08:53:52 +01:00
Daan
162b372b4d
Move preinstall libs to top.
2025-03-23 22:09:17 +01:00
Daan
8448a6add0
Further foolproofed the Dockerfile.
2025-03-23 22:00:24 +01:00
si458
46e6ddb8fc
upgrade otplib to 12.0.1 #6912
...
Signed-off-by: si458 <simonsmith5521@gmail.com>
2025-03-23 20:07:06 +00:00
Daan
62443dd4f4
Dockerfile change.
2025-03-23 21:02:30 +01:00
Daan
660312eff3
Working prototype and clear and easy to understand logic.
2025-03-22 03:21:45 +01:00
Daan Selen
e11a858081
I hate sed modification but I must.
2025-03-21 16:56:47 +01:00
Daan Selen
86ecc4267d
@DaanSelen Docker overhaul intermediate commit.
2025-03-21 16:32:35 +01:00
Daan Selen
6eb85fa892
Refactored more Dockerfile
2025-03-20 17:07:08 +01:00
Daan Selen
da5ef522f8
Modified Dockerfile for readability
...
Renamed startup.sh to entrypoint.sh
2025-03-19 15:34:44 +01:00
Edwin Hermans
7a33270e9a
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
2025-03-19 00:00:54 +00:00
si458
1ae7b9f641
fix minify in bootstrap #6662
...
Signed-off-by: si458 <simonsmith5521@gmail.com>
2025-01-05 17:38:03 +00:00
Simon Smith
988983b880
alpine 3.21 and node 22 in docker
2024-12-18 18:58:32 +00:00
si458
ac27034542
update packages
...
Signed-off-by: si458 <simonsmith5521@gmail.com>
2024-10-17 20:45:11 +01:00
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
Simon Smith
4c6696c0f7
add run args to docker
...
Signed-off-by: Simon Smith <simonsmith5521@gmail.com>
2023-09-24 15:23:28 +00: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
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
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