It will only work if you have a named volume
correct. but you can specify where that named volume is stored on the host:
volumes:
appconfig:
name: myapp_config
driver: local
driver_opts:
type: none
device: "/some/path/on/host" # location on host IF driver:local & type:none
o: bind