# Template for volumes Top-level element, only modifying the device from the # extension fields contained in docker-extensions.yml volumes: {volume_name}: <<: *volume-opt driver_opts: <<: *options device: ":/mnt/path/{service}/{volume}"