- Fix MOSQUITTO_HOST (wrong container name) - Fix EMQX_PORT (1885 external -> 1883 internal) - Fix telegraf MQTT topics (city/sensors/#) - Fix BunkerM dynsec JSON - Add kepler.yml Traefik config - Update monitoring script
30 lines
548 B
YAML
30 lines
548 B
YAML
services:
|
|
emqx:
|
|
image: emqx/emqx:5.4
|
|
container_name: emqx_emqx_1
|
|
restart: unless-stopped
|
|
networks:
|
|
- smartcity-shared
|
|
ports:
|
|
- "1885:1883"
|
|
- "8083:8083"
|
|
- "8883:8883"
|
|
- "8084:8084"
|
|
- "18083:18083"
|
|
environment:
|
|
- EMQX_NAME=emqx
|
|
- EMQX_HOST=emqx_emqx_1
|
|
volumes:
|
|
- emqx-data:/opt/emqx/data
|
|
- emqx-log:/opt/emqx/log
|
|
|
|
volumes:
|
|
emqx-data:
|
|
name: smart-city-emqx-data
|
|
emqx-log:
|
|
name: smart-city-emqx-log
|
|
|
|
networks:
|
|
smartcity-shared:
|
|
external: true
|