There are different custom installations of a variety of docker-compose applications. And often they use external volumes instead of the default ones directly in the compose file.
Here's an example of creation by install script (runs first): https://github.com/getsentry/onpremise/blob/master/install/create-docker-volumes.sh
And later this volume is used: https://github.com/getsentry/onpremise/blob/master/docker-compose.yml#L361
volumes:
sentry-data:
external: true
sentry-postgres:
external: true
Can anyone explain what is the point? Why just not compose volumes?
volumes:
sentry-data: