fix: Docker compose and configuration.
This commit is contained in:
parent
a849c24abf
commit
3bb67f679c
@ -15,7 +15,8 @@ Role Variables
|
||||
knx_monitor:
|
||||
docker_version: "latest"
|
||||
gateway_ip: "localhost"
|
||||
topology_file: "{{ \".\" | | expanduser | realpath }}/topology.csv"
|
||||
config_path: "~/knx-monitor"
|
||||
topology_source: "./topology.csv"
|
||||
|
||||
influx:
|
||||
url: "http://localhost:8086"
|
||||
|
@ -7,7 +7,7 @@ services:
|
||||
restart: unless-stopped
|
||||
|
||||
volumes:
|
||||
# - {{ knx_monitor.config_path | expanduser | realpath }}/export-addresses.csv:/code/knx/export-addresses.csv:ro
|
||||
- {{ knx_monitor.config_path | expanduser | realpath }}/export-addresses.csv:/code/knx/export-addresses.csv:ro
|
||||
- /etc/timezone:/etc/timezone:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
env_file:
|
||||
|
@ -1,4 +1,5 @@
|
||||
KNX_GATEWAY_IP={{ knx_monitor.gateway_ip }}
|
||||
KNX_TOPOLOGY=/code/knx/export-addresses.csv
|
||||
|
||||
INFLUX_BUCKET={{ knx_monitor.influx.bucket }}
|
||||
INFLUX_ORG={{ knx_monitor.influx.org }}
|
||||
|
Loading…
Reference in New Issue
Block a user