I got a question about how to use the Docker edge client.
It's really simple!
First you need to determine if you need authentication or not. If you run on a well protected network or only for short time testing purposes you can run the edge-clent without authentication. It is still authenticated to the backend as usual but the local web interface will be open. To do this you can start the edge-client like this.
docker run -d -e INSECURE=true -p 8080:80 ghcr.io/iotopen/edge-client:latest
Then visit http://localhost:8080 in your browser. That is of course if you started it on you local machine. You will not need to login.
If you need authentication you start it like:
docker run -d -e BASE=https://lynx.iotopen.se -p 8080:80 ghcr.io/iotopen/edge-client:latest
Now, you need to supply a valid token from the server you specified in the BASE variable to access the GUI of the edge-client. There is no local login but you have to supply it like http://localhost:8080?access-token=YOUR_TOKEN_HERE
The easiest way to do this is to add a somewhat hidden feature in the platform interface. Add a metadata variable to the installation like:
ext_url_Edge Client = http://localhost:8080?access-token=__TOKEN__
That is exactly like that, the TOKEN will automatically be replaced with your login token. That means it is valid while you are logged in.
Then you will get a new link overview page of you installation with a link to the edge-client. In this case of course it only works for you since it is pointed to localhost.
Now use the edge client interface to connect the edge-client to your installation.
There is also a third way to to this, but that is out of scope for this post. That is to run the edge client headless and log in to it and to the configuration there.