Influxdb docker container disk size

I’m running influxdb in a docker container on a raspberry-pi.
The database is stored to an external hdd which is mounted to the container.
Recently I noticed the container is using ALL available disk space on the pi. When I look in the container i can only see 1,3GB used while the container itself uses 25GB of space on the raspberry.
the database itself is only 1.2GB so I don’t think this is the problem.
I tried purging all unused stuff from docker but no changes.

anybody have an idea for this ?

Check the logs in case those are filling things up. How old is this docker container?

the container less than 2 months old
log files are 450kb combined