In docker-compose I can do this (map host file to container file):
volumes: - ./appname/site.settings:/var/www/html/site.settings
In Rancher, with rancher-nfs, I cant seem to map a file, only a folder
volumes: - nfs-volumename:/var/www/html
- Using volumes, is it possible to map a file, rather than just a folder
- Using volumes, is it possible to map on the volume side to a sub-folder… e.g.
volumes: - nfs-volumename/log/www:/var/log/www - nfs-volumename/log/appname:/var/log/appname