Created
March 27, 2019 19:46
-
-
Save kleini/c007c8dc4943c037f403392f1bc158e4 to your computer and use it in GitHub Desktop.
Docker compose for HomieMonitor docker image
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.2' | |
services: | |
homieMonitor: | |
container_name: homieMonitor | |
environment: | |
- HM_MQTT_HOST=192.168.1.1 | |
- HM_MQTT_PORT=1883 | |
- HM_MQTT_SSL_ENABLE_FLAG=true | |
- HM_MQTT_USER=mqtt | |
- HM_MQTT_PASS=superSecret | |
- HM_BASE_TOPICS=[["homie/#",0]] | |
image: stritti/homie-monitor:latest | |
ports: | |
- target: 8585 | |
published: 8585 | |
protocol: tcp | |
mode: host | |
restart: always | |
tty: true | |
volumes: | |
- type: bind | |
source: /srv/homieMonitor/tmp | |
target: /tmp/homieMonitor | |
- type: bind | |
source: /srv/homieMonitor/content | |
target: /usr/src/app/content | |
- type: bind | |
source: /srv/homieMonitor/db | |
target: /usr/src/app/db | |
- type: bind | |
source: /srv/homieMonitor/settings | |
target: /usr/src/app/config/settings |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment