February 13, 20197 yr 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.
February 13, 20197 yr 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
April 9, 20197 yr 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?
September 7, 20196 yr @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"
October 22, 20205 yr 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.
October 22, 20205 yr 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.
October 22, 20205 yr 32 minutes ago, uldise said: i can post a screenshots with config page, just ask. That would be great!
October 23, 20205 yr 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/", }, }, }
October 25, 20205 yr Thank you all for your help, you are awesome guys... And uldise thanks for the screenshot setup very helpfull. André
November 6, 20205 yr Author 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, 20205 yr by chip
November 7, 20205 yr 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.
November 7, 20205 yr i just updated my https://hub.docker.com/r/uldiseihenbergs/meshcentral to the latest 0.6.81 version.
January 23, 20215 yr 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
January 24, 20215 yr 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.
January 24, 20215 yr 15 hours ago, Ruthalas said: but I get connection refused when I try to hit IP:455 show your port mapping!
January 24, 20215 yr and then please post your Meshcentral config file. looks like you defined https only, so webui should be available on port 466.
January 24, 20215 yr 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.
January 25, 20215 yr 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
January 25, 20215 yr 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, 20215 yr by Ruthalas adjusted for clarity
January 26, 20215 yr 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
February 3, 20215 yr 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!
February 3, 20215 yr 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
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.