Newer
Older
dhcp2MQTT / docker-compose.yml
version: '2.1'

services:
    dashlisten-main:
      build: ./docker
      mem_limit: 128m
      restart: always
      environment:
        - DASH_INTERFACE=${DASH_INTERFACE}
        - DASH_MQTT_SERVER=${DASH_MQTT_SERVER:-127.0.0.1}
        - DASH_MQTT_PORT=${DASH_MQTT_PORT:-1883}
        - DASH_MQTT_TOPIC=${DASH_MQTT_TOPIC:-dashbutton}
      tmpfs:
        - /tmp
      network_mode: host
      cap_add:
        - NET_ADMIN
        - NET_RAW