19 lines
410 B
YAML
19 lines
410 B
YAML
version: "3.7"
|
|
services:
|
|
mqttbroker:
|
|
image: eclipse-mosquitto:latest
|
|
container_name: mqttbroker
|
|
ports:
|
|
- 1883:1883
|
|
- 9001:9001
|
|
volumes:
|
|
- ./mosquitto.conf:/mosquitto/config/mosquitto.conf
|
|
|
|
# For some reason it wont work in a container...
|
|
# testasset:
|
|
# build:
|
|
# context: .
|
|
# container_name: testasset
|
|
# network_mode: host
|
|
# depends_on:
|
|
# - mqttbroker |