-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdocker-compose.yml
46 lines (46 loc) · 1.51 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
version: "3.7"
services:
gazpar2mqtt:
container_name: gazpar2mqtt
image: yukulehe/gazpar2mqtt:latest
tty: true
restart: unless-stopped
environment:
GRDF_USERNAME=gazou@email.com
GRDF_PASSWORD=password
MQTT_HOST=host
TZ=Europe/Paris
# Optional:
#SCHEDULE_TIME: '06:30'
#MQTT_PORT: '1883'
#MQTT_TOPIC: 'gazpar'
#MQTT_CLIENTID: 'gazou'
#MQTT_USERNAME: 'myMqttUsername'
#MQTT_PASSWORD: 'myMqttPassword'
#MQTT_QOS: '1'
#MQTT_RETAIN: 'True'
#MQTT_SSL: 'False'
#STANDALONE_MODE: 'False'
#HASS_DISCOVERY: 'False'
#HASS_PREFIX: 'homeassistant'
#HASS_DEVICE_NAME: 'gazpar'
#THRESOLD_PERCENTAGE: 80 # warn when consumptions is above this percentage of the thresold
#INFLUXDB_ENABLE: 'True'
#INFLUXDB_HOST: 'influxdb'
#INFLUXDB_PORT: '8086'
#INFLUXDB_ORG: 'myOrg'
#INFLUXDB_BUCKET: 'gazpar'
#INFLUXDB_TOKEN: 'myToken'
#INFLUXDB_HORIZON: '0' # Number of days in the past to write to influx
#PRICE_PATH: '/data'
#PRICE_KWH_DEFAULT: '0.04' # price in € per kWh
#PRICE_FIX_DEFAULT: '0.5' # fix price in € per day
#DB_INIT: 'False' # force the reinitialization of the database
#DB_PATH: '/data' # database path
#DEBUG: 'True'
# Optional :
#volumes: # highly recommanded
# - ./gazpar2mqtt:/data
#depends_on: # to link influxdb
# - mqtt # name of your mqtt container
# - influxdb # name of your influxdb container