chip Posted February 13, 2019 Share Posted February 13, 2019 Would like to get this setup as a docker if possible - I know one can do the following - Enable docker hub searching in community applications, then search for and install it using the apps tab as normal. You may have to adjust some settings, but with an app this simple it'll probably work with little to no tweaking. More info - https://github.com/techno-express/MeshCentral2 https://hub.docker.com/r/technoexpress/meshcentral/ Any help would be great. Quote Link to comment
Squid Posted February 13, 2019 Share Posted February 13, 2019 ENV PORT 443 ENV REDIRPORT 80 ENV MPSPORT 4443 ENV EMAIL mail@host ENV HOST host.ltd ENV SMTP smtp.host.ltd ENV USER smtp@user ENV PASS smtppass! ENV DB netdb ENV MONGODB "mongodb://127.0.0.1:27017/meshcentral" ENV MONGODBCOL "meshcentral" Add a new variable for each of the above (variable and the name is the 2nd item, its value is the 3rd). You'll need to adjust the values accordingly for your setup EXPOSE 25 80 443 4443 27017 27018 Add a new port for each of the above container ports, mapped appropriately to a host port Then you should be able hit the shell for the container and do whatever it does according to the instructions Quote Link to comment
chip Posted February 14, 2019 Author Share Posted February 14, 2019 Ok I will have to look into that. Quote Link to comment
INTEL Posted April 9, 2019 Share Posted April 9, 2019 On 2/14/2019 at 4:46 PM, chip said: Ok I will have to look into that. Did you managed to get it working? Quote Link to comment
StanC Posted September 7, 2019 Share Posted September 7, 2019 @chip - were you able to get this working? I am trying and I think I am close but I am getting this error: Error: ENOENT: no such file or directory, open '/home/meshserver/views/layouts/main.handlebars' I connected to the console and do not see the directory "views" under "/home/meshserver" 1 Quote Link to comment
AndreB Posted October 22, 2020 Share Posted October 22, 2020 Hi all, anyone got this to work in a docker? Quote Link to comment
StanC Posted October 22, 2020 Share Posted October 22, 2020 1 hour ago, AndreB said: Hi all, anyone got this to work in a docker? I never did. I ended up moving to a Gigabyte BRIX (NUC) that I had laying around, and it running under Windows 10. 1 Quote Link to comment
uldise Posted October 22, 2020 Share Posted October 22, 2020 Yes, i'm running Meshcentral in docker for about a 5 months. here is my repo: https://hub.docker.com/r/uldiseihenbergs/meshcentral i can post a screenshots with config page, just ask. 1 Quote Link to comment
JonathanM Posted October 22, 2020 Share Posted October 22, 2020 32 minutes ago, uldise said: i can post a screenshots with config page, just ask. That would be great! Quote Link to comment
uldise Posted October 23, 2020 Share Posted October 23, 2020 here you go but some of these settings depends on meshcentral config inside container. and this is my redacted meshcentral config file - i redacted it and removed all unused config parts. i'm using meshcentral behind my Apache reverse proxy. { "__comment__" : "This is a sample configuration file, edit a section and remove the _ in front of the name. Refer to the user's guide for details.", "settings": { "Cert": "mesh.example.com", "WANonly": true, "_LANonly": true, "SessionKey": "redacted7", "_CookieIpCheck": false, "CookieEncoding": "hex", "_IgnoreAgentHashCheck": true, "Port": 8443, "AgentPort": 443, "AgentAliasPort":443, "_AliasPort": 443, "RedirPort": 80, "_ExactPorts": true, "WebRTC": false, "_Nice404": false, "ClickOnce": true, "_SelfUpdate": true, "_AgentPing": 60, "AgentPong": 300, "AllowHighQualityDesktop": true, "TrustedProxy": "192.168.50.248", "MpsPort": 0, "AutoBackup": { "backupIntervalHours": 24, "keepLastDaysBackup": 5, }, "MaxInvalidLogin": { "time": 10, "count": 10, "coolofftime": 10 }, "Plugins": { "enabled": true } }, "domains": { "": { "Title": "example mesh", "Title2": "", "NewAccounts": false, "novnc":true, "mstsc":true, "CertUrl": "https://192.168.50.248:443/", }, }, } 1 Quote Link to comment
AndreB Posted October 25, 2020 Share Posted October 25, 2020 Thank you all for your help, you are awesome guys... And uldise thanks for the screenshot setup very helpfull. André Quote Link to comment
chip Posted November 6, 2020 Author Share Posted November 6, 2020 (edited) I tried pulling the repo from https://hub.docker.com/r/uldiseihenbergs/meshcentral and it says "The command Failed" Ok uldiseihenbergs/meshcentral:0.6.56 works but when I try to add similiar settings as list above with the ports, etc it fails and disappears. Edited November 6, 2020 by chip Quote Link to comment
uldise Posted November 7, 2020 Share Posted November 7, 2020 13 hours ago, chip said: Ok uldiseihenbergs/meshcentral:0.6.56 works but when I try to add similiar settings as list above with the ports, etc it fails and disappears. i just tested it without tag, and it works just fine for me.. if it simple disappears then something is wrong with settings. Quote Link to comment
uldise Posted November 7, 2020 Share Posted November 7, 2020 i just updated my https://hub.docker.com/r/uldiseihenbergs/meshcentral to the latest 0.6.81 version. Quote Link to comment
Seldor_Patrick Posted January 23, 2021 Share Posted January 23, 2021 On 11/6/2020 at 7:13 PM, chip said: I tried pulling the repo from https://hub.docker.com/r/uldiseihenbergs/meshcentral and it says "The command Failed" Ok uldiseihenbergs/meshcentral:0.6.56 works but when I try to add similiar settings as list above with the ports, etc it fails and disappears. Hello, i Think your problem is the path from Container you take "meshcentral-files" take "/meshcentral-files" and it work Quote Link to comment
Ruthalas Posted January 24, 2021 Share Posted January 24, 2021 I've configured it according the the screenshot above, but can't access the webUI, is that expected behavior? Logs for the container look good (see below), but I get connection refused when I try to hit IP:455. There isn't anything in the folders I configured, but perhaps that's because I haven't been able to set anything up yet? Thanks for your work on this! Installing [email protected]... Installing [email protected]... MeshCentral HTTP redirection server running on port 80. Generating certificates, may take a few minutes... Generating root certificate... Generating HTTPS certificate... Generating MeshAgent certificate... Generating Intel AMT MPS certificate... MeshCentral v0.7.30, LAN mode. Server has no users, next new account will be site administrator. MeshCentral HTTPS server running on port 443. Quote Link to comment
uldise Posted January 24, 2021 Share Posted January 24, 2021 15 hours ago, Ruthalas said: but I get connection refused when I try to hit IP:455 show your port mapping! Quote Link to comment
Ruthalas Posted January 24, 2021 Share Posted January 24, 2021 2 hours ago, uldise said: show your port mapping! Quote Link to comment
uldise Posted January 24, 2021 Share Posted January 24, 2021 and then please post your Meshcentral config file. looks like you defined https only, so webui should be available on port 466. Quote Link to comment
Ruthalas Posted January 24, 2021 Share Posted January 24, 2021 I get ERR_EMPTY_RESPONSE at IP:466. Should the meshcentral config file be in one of the configured appdata folder? The four folders I configured are all empty. Quote Link to comment
uldise Posted January 25, 2021 Share Posted January 25, 2021 7 hours ago, Ruthalas said: The four folders I configured are all empty. looks like you misconfigured your paths. from my docker page, all paths below - it's a container side paths. Volumes required for persistant storage: home/node/meshcentral/meshcentral-files home/node/meshcentral/meshcentral-data Optional volumes: home/node/meshcentral/meshcentral-backup home/node/meshcentral/meshcentral-web Quote Link to comment
Ruthalas Posted January 25, 2021 Share Posted January 25, 2021 (edited) Ah! I see. I naively copied what was visible in your first screenshot. Thank you for the correction. I've corrected the paths to match, and updated the container. I still can't access the webUI, but can modify the config file directly. My config file currently contains the default information- I anticipated configuring it from the WebUI. Should I be configuring it via the config file instead? Thanks for your help! Edited January 25, 2021 by Ruthalas adjusted for clarity Quote Link to comment
uldise Posted January 26, 2021 Share Posted January 26, 2021 14 hours ago, Ruthalas said: Should I be configuring it via the config file instead? if you have just default config with port mapping as above in pic, then WebUI should be accessible with https://IP:466 Quote Link to comment
Ruthalas Posted February 3, 2021 Share Posted February 3, 2021 Unfortunately I haven't been able to get it to work. I've rebuilt the container with the configuration above and still can't access the webUI. If you have any further troubleshooting steps, let me know. Regardless, thanks for the help so far! Quote Link to comment
uldise Posted February 3, 2021 Share Posted February 3, 2021 1 hour ago, Ruthalas said: If you have any further troubleshooting steps, let me know. let start again - show your docker log file, and then mapped ports 1 Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.