version: '2.1' services: dashlisten-main: build: ./docker mem_limit: 128m restart: always environment: - LISTEN_INTERFACE=${LISTEN_INTERFACE} - MQTT_SERVER=${MQTT_SERVER:-127.0.0.1} - MQTT_PORT=${MQTT_PORT:-1883} - MQTT_TOPIC=${MQTT_TOPIC:-dashbutton} tmpfs: - /tmp network_mode: host cap_add: - NET_ADMIN - NET_RAW