Enabling webserver on edge agent

I’m a bit confused turning on the webserver on the edge agent.

Do I have to add the -p 8080:8080 statement in the docker run command, AND setting config file to: [webserver] enabled and port 8080 ?

@Lars_Andersson,

That is correct, but you do not need to add the port to the config file. You can check out our Edge Agent Usage documentation where we have some great instruction on how to enable the webserver option of the Edge Agent as well as other options for use.

So, just to reiterate, you are correct that you will need to add -p 8080:8080 to the docker run command. You can read more about the -p, or publish option in Docker’s documentation for other Container Networking information.

You will also need to add the following to your config file:

[webserver]
enabled = true

Thank you,
Heath