v.1 is deprecated since ~2023, you probably should use v.2 ("docker-compose-v2") which is backward-compatible.