I’m using Nakama 3.1.2 and deploying to the hosted service NodeChef using a Dockerfile (I don’t think they support Docker Compose).
My Dockerfile is a barely modified copy of nakama/Dockerfile at master · heroiclabs/nakama · GitHub
I’m following Docker quickstart - Nakama server but I can’t run docker commands directly, since I don’t have access to the remotely hosted machine.
The problem is I can’t figure out the relationship between files in my project folder and those on the server. No matter what file paths I use, the server can’t find the
I also saw this thread (and others) Server Configuration - #2 by novabyte and added
VOLUME .:/nakama/data and then tried the variant
VOLUME ["/nakama/data"], but it had no effect.
The config file is at the root of my project folder, alongside the Dockerfile.
“msg”: “Could not read config file”,
“error”: “open /nakama/data/nakama-config.yml: no such file or directory”
I first had this problem with the server not finding the runtime
js_entrypoint file, which is when I decided to try using the config file, and now here I am.