service refers to undefined volume

I'm using this compose file to install a libsql database:
https://gist.github.com/Adammatthiesen/bfe7c78b2e73996fb3ef1b36ed606a57

But I keep getting this error:

Error service "libsql" refers to undefined volume libsqldata: invalid compose project

I can't create this volume, cause I only have a file mount option. I just started using Dokploy today so I'm a bit lost here.
Was this page helpful?