Running on Heroku, or other easy hosting options?

Hi @nolan :wave:

We used to have some code snippets on how to handle the Nakama containers on Heroku with their Docker integration but it was quite new at the time and was outdated often. We dropped the recommendation for it at some point as a result. I do think in general that Heroku or Digital Ocean are good options for your needs at the price point and level of maintenance you want to take on.

I think the best route may be to revisit the Heroku docs on how to run Docker containers on their managed VMs. You can use the environment variables exposed by the Heroku runtime to connect to a managed database instance.

I think the overall steps to work out for the Heroku YML setup are:

  1. The Docker container deployment.
  2. The dependence on a managed database VM.
  3. What format to export logs in case there’s a builtin way to parse and read them via the PaaS.
  4. Same as above but for metrics.

Have a look at the documentation on the server configuration for what cmd flags you can pass to the server to generate the output you might need to use with Heroku.

Hope this helps.