If using Hiera, configure the docker::volumes class in the manifest file:
---
  classes:
    - docker::volumes
            
docker::volumes:
  blueocean:
    ensure: present
    driver: local
    options:
      type: "nfs"
      o: "addr=%{custom_manager},rw",
      device: ":/srv/blueocean"
This will ensure configurations are made using a hiera.yml file.