Webthings Gateway
WebThings is an open source implementation of the Web of Things, including the WebThings Gateway and the WebThings Framework.
Directory Structure
- .env
- docker-compose.yml
docker-compose.yml
version: "3"
services:
webthings-gateway:
container_name: webthings-gateway
image: webthingsio/gateway:latest
restart: unless-stopped
network_mode: host
# "ports" are ignored because of "network_mode: host". Either use "ports"
# or "network_mode: host".
#ports:
# - "8080:8080"
# - "4443:4443"
environment:
- "TZ=America/Los_Angeles"
volumes:
- /opt/docker/webthings-gateway:/home/node/.webthings
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "10"
# If certain devices are needed, e.g. USB dongles, enable them here.
#devices:
# - /dev/ttyUSB0:/dev/ttyUSB0
# - /dev/ttyACM0:/dev/ttyACM0
# If Bluetooth, the container needs to run in privileged mode.
#privileged: trueResources
Website: https://webthings.io/
GitHub: https://github.com/WebThingsIO/gateway
Docker Hub: https://hub.docker.com/r/webthingsio/gateway
Configuration: https://webthings.io/docs/gateway/installation/