pushdeer/docker/mqtt/docker-compose.dev.yml
2022-02-23 17:50:40 +08:00

17 lines
324 B
YAML

version: '2'
services:
api:
build:
context: ./
dockerfile: ./Dockerfile.dev
volumes:
- './api:/api'
ports:
- '80:80'
- '1883:1883'
environment:
- API_KEY=aPiKe1
- MQTT_USER=easy
- MQTT_PASSWORD=y0urp@ss
- MQTT_PORT=1883
- MQTT_BASE_TOPIC=default