I need a way to configure docker-compose to create a volume
if it's missing, or in case it exists, use it.
I need it to be persistent between versions, but I cannot assure it'll be configured upon initial configuration.
volumes:
my_volume:
external: true
I need to mount docker volume and not host directory. something like:
-v my_volume:/my_files
what's the best solution for such use-case?