According to your example above, docroot
is mounted to onto the /nakama/data
directory - You should try and use the full path /nakama/data/nakama-config.yml
to load the config file.
Failing this, you can use command line flags when starting Nakama to pass custom config.