fix: Docker compose and configuration.

This commit is contained in:
Laur Ivan 2022-12-20 15:44:55 +01:00
parent a849c24abf
commit 3bb67f679c
3 changed files with 4 additions and 2 deletions

View File

@ -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"

View File

@ -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:

View 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 }}