Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nakama DX using Docker #1208

Closed
exotexot opened this issue Apr 26, 2024 · 3 comments
Closed

Nakama DX using Docker #1208

exotexot opened this issue Apr 26, 2024 · 3 comments

Comments

@exotexot
Copy link

I find using Nakama and Docker very bad.
I'm using Typescript to write Nakama Server stuff and there is no way you can update things quickly. When you edit files, you will STILL need to rebuild the entire docker container to see your updates, even though you have an exposed docker volume that is actually MEANT to share data across host and docker container.

Maybe I'm just missing something, but I feel like this is something that can be improved.

  • Nakama: 3.21.1
  • Database: Cockroach-23.1
  • Environment name and version:
  • Operating System and version: MacOS, Dockerised nakama application
Copy link

linear bot commented Apr 26, 2024

@zyro
Copy link
Member

zyro commented May 21, 2024

What you're describing should work just fine, if you've bound a volume to your host environment that should work fine. All you would need to do is restart the Nakama container.

If you're using a Dockerfile to bundle Nakama plus your TS/JS output into a new image together, then yes you need to rebuild that each time.

@exotexot
Copy link
Author

Ah, that's actually good to know! Still not ideal but restarting the container is much faster than rebuilding.
Thanks for letting me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants