The main goal I am trying to achieve is add virtual web things to the gateway (I’m essentially following this https://github.com/WebThingsIO/webthing-python).
Below are the logs I’m getting
I tried connecting via http://127.0.0.1:8888 instead of “http://localhost:8888” however no luck.
I don’t think I have mapped port 8888 when starting the docker container so that may be the issue. I simply ran the command below to create the container which is the command listed on the webthings io docker webpage (https://hub.docker.com/r/webthingsio/gateway). How can I achieve this?
docker run
-d
-p 8080:8080
-p 4443:4443
-e TZ=America/Los_Angeles
-v /path/to/shared/data:/home/node/.webthings
–log-opt max-size=1m
–log-opt max-file=10
–name webthings-gateway
webthingsio/gateway:latest
I also don’t think I have mapped a persistent volume. Again not really sure how to achieve this sorry.
Thank you for both your help, it’s really appreciated.