spark66

Untitled

Aug 18th, 2022
22
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 KB | None | 0 0
  1. version: '3.6'
  2. services:
  3.  
  4. filebrowser:
  5. image: hurlenko/filebrowser
  6. container_name: filebrowser
  7. user: "${UID}:${GID}"
  8. ports:
  9. - 443:8080
  10. volumes:
  11. - ./:/data
  12. - ./volumes/filebrowser/config:/config
  13. environment:
  14. - FB_BASEURL=/filebrowser
  15. restart: always
  16.  
  17. mosquitto:
  18. image: eclipse-mosquitto
  19. container_name: mosquitto
  20. network_mode: host
  21. volumes:
  22. - ./volumes/mosquitto/conf:/conf
  23. - ./volumes/mosquitto/data:/data
  24. - ./volumes/mosquitto/log:/log
  25. # - ./volumes/mosquitto/conf:/mosquitto/conf
  26. # - ./volumes/mosquitto/data:/mosquitto/data
  27. # - ./volumes/mosquitto/log:/mosquitto/log
  28.  
  29. home_assistant:
  30. container_name: home_assistant
  31. #image: ghcr.io/home-assistant/home-assistant:stable
  32. image: ghcr.io/home-assistant/raspberrypi3-homeassistant:stable
  33. #image: ghcr.io/home-assistant/raspberrypi4-homeassistant:stable
  34. restart: unless-stopped
  35. network_mode: host
  36. volumes:
  37. - /etc/localtime:/etc/localtime:ro
  38. - ./volumes/home_assistant:/config
  39.  
  40. GivTCP:
  41. image: britkat/giv_tcp-ma:latest
  42. container_name: giv_battery
  43. network_mode: "host"
  44. # ports:
  45. # - "1883:1883"
  46. # - "6345:6345"
  47. environment:
  48. - INVERTOR_IP=Battery.lan # Set this to the IP address of your Invertor on you rlocal network
  49. - NUM_BATTERIES=1 # Number of battery modules installed and connected to the above invertor
  50. - MQTT_OUTPUT=True # "True" if you want to publish your data to MQTT, "False" otherwise
  51. - MQTT_ADDRESS=localhost # IP address of an existing MQTT broker, or leave as "127.0.0.1" to use the internal broker
  52. - MQTT_USERNAME= # Username of your existing broker, if needed. Not required for internal broker
  53. - MQTT_PASSWORD= # Password of your existing broker, if needed. Not required for internal broker
  54. - MQTT_TOPIC=battery # Root topic to publish data to. If left blank it will default to GivEnergy/<invertor_serial_number>
  55. - MQTT_PORT=1883 # Port of your existing broker, leave as "1883" for internal broker
  56. - LOG_LEVEL=Error # Level of logs to be reported: "Error", "Info" or "Debug"
  57. - DEBUG_FILE_LOCATION= # Location of log file stored inside the container, defalt location is /app/GivTCP
  58. - PRINT_RAW=True # If True this will publish all inverotr data unprocessed as well as standard data
  59. - 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
  60. - SELF_RUN_LOOP_TIMER=10 # Wait time between every read command to the invertor
  61. - INFLUX_OUTPUT=False # "True" if you want to publish your data to InfluxDB, "False" otherwise
  62. - INFLUX_URL= # URL of an external Influx instance
  63. - INFLUX_TOKEN= # Access Token for your Influx instance
  64. - INFLUX_BUCKET= # Data Bucket of your Influx instance you want data sent to
  65. - INFLUX_ORG= # Influx instance Organisation
  66. - HA_AUTO_D=True # If True (and if MQTT_OUTPUT is True) this will publish Home Assistant Auto Discovery messages to the broker
  67. restart: always
  68. privileged: true
Advertisement
Add Comment
Please, Sign In to add comment