Docker compose : Mount CIFS directly

Forum search for “volume cifs” and sort by latest brought up this result:

Be aware that declared volumes are immutable once created. If you change settings of a volume, you will need to delete it from the cli, in order to let docker-compose create it with the new configuration.