k0rventen / apple-health-grafana

Visualise your Apple Health export in Grafana
390 stars 28 forks source link

Unsupported config option for services: 'influx' #1

Closed tpackolus closed 1 year ago

tpackolus commented 1 year ago

ERROR: The Compose file './docker-compose.yml' is invalid because: Unsupported config option for services: 'influx'

k0rventen commented 1 year ago

Could you provide the content of the docker-compose.yml, as well as the version of docker-compose ?

tpackolus commented 1 year ago

docker-compose version 1.23.1, build b02f1306

docker-compose.yml:

services: grafana: image: grafana/grafana ports:

k0rventen commented 1 year ago

OK, it seems you are using a very old version of compose (released in Nov 2018 as per this doc), and as I wasn't setting explicitly the compose version (this is now fixed by 0e1565c1e8a5be3f8191e6d9e7efbb64984f4e6f), your version of compose isn't aware that it's incompatible with the v3 compose spec.

I would suggest upgrading your compose version, or setting manually version: "2" at the top of the compose file (which isn't a tested behavior).

Also, don't forget to change the volume path <local_export.xml_path> by the real local path of your exported health data file :+1:

tpackolus commented 1 year ago

thanks it works I install new version thank you so much