Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3.6'
- services:
- filebrowser:
- image: hurlenko/filebrowser
- container_name: filebrowser
- user: "${UID}:${GID}"
- ports:
- - 443:8080
- volumes:
- - ./:/data
- - ./volumes/filebrowser/config:/config
- environment:
- - FB_BASEURL=/filebrowser
- restart: always
- mosquitto:
- image: eclipse-mosquitto
- container_name: mosquitto
- network_mode: host
- volumes:
- - ./volumes/mosquitto/conf:/conf
- - ./volumes/mosquitto/data:/data
- - ./volumes/mosquitto/log:/log
- # - ./volumes/mosquitto/conf:/mosquitto/conf
- # - ./volumes/mosquitto/data:/mosquitto/data
- # - ./volumes/mosquitto/log:/mosquitto/log
- home_assistant:
- container_name: home_assistant
- #image: ghcr.io/home-assistant/home-assistant:stable
- image: ghcr.io/home-assistant/raspberrypi3-homeassistant:stable
- #image: ghcr.io/home-assistant/raspberrypi4-homeassistant:stable
- restart: unless-stopped
- network_mode: host
- volumes:
- - /etc/localtime:/etc/localtime:ro
- - ./volumes/home_assistant:/config
- GivTCP:
- image: britkat/giv_tcp-ma:latest
- container_name: giv_battery
- network_mode: "host"
- # ports:
- # - "1883:1883"
- # - "6345:6345"
- environment:
- - INVERTOR_IP=Battery.lan # Set this to the IP address of your Invertor on you rlocal network
- - NUM_BATTERIES=1 # Number of battery modules installed and connected to the above invertor
- - MQTT_OUTPUT=True # "True" if you want to publish your data to MQTT, "False" otherwise
- - MQTT_ADDRESS=localhost # IP address of an existing MQTT broker, or leave as "127.0.0.1" to use the internal broker
- - MQTT_USERNAME= # Username of your existing broker, if needed. Not required for internal broker
- - MQTT_PASSWORD= # Password of your existing broker, if needed. Not required for internal broker
- - MQTT_TOPIC=battery # Root topic to publish data to. If left blank it will default to GivEnergy/<invertor_serial_number>
- - MQTT_PORT=1883 # Port of your existing broker, leave as "1883" for internal broker
- - LOG_LEVEL=Error # Level of logs to be reported: "Error", "Info" or "Debug"
- - DEBUG_FILE_LOCATION= # Location of log file stored inside the container, defalt location is /app/GivTCP
- - PRINT_RAW=True # If True this will publish all inverotr data unprocessed as well as standard data
- - SELF_RUN=True # If True the container will self-run and connect and publish data. If "False" the you will need to trigger externally via REST
- - SELF_RUN_LOOP_TIMER=10 # Wait time between every read command to the invertor
- - INFLUX_OUTPUT=False # "True" if you want to publish your data to InfluxDB, "False" otherwise
- - INFLUX_URL= # URL of an external Influx instance
- - INFLUX_TOKEN= # Access Token for your Influx instance
- - INFLUX_BUCKET= # Data Bucket of your Influx instance you want data sent to
- - INFLUX_ORG= # Influx instance Organisation
- - HA_AUTO_D=True # If True (and if MQTT_OUTPUT is True) this will publish Home Assistant Auto Discovery messages to the broker
- restart: always
- privileged: true
Advertisement
Add Comment
Please, Sign In to add comment