Take snapshots, remove, and re-install Nakama without affecting your primary operating system
Enjoy a quick and simplified installation experience regardless of your OS
Following this guide, you will use Docker Compose to quickly and easily define all the necessary services and run your local development instance of Nakama.
Copy and paste the contents of your preferred option into your docker-compose.yml file.
Windows Users
You must edit the nakama:volumes: entry in your docker-compose.yml file so that it looks like the following: /c/Users/<username>/projects/docker:/nakama/data.
Open a Terminal window and navigate to your Nakama directory. For example:
1
cd desktop/nakama
To pull all required images and start your application, run the following:
1
docker compose up
Congratulations! Your Nakama server is now up and running, available at 127.0.0.1:7350.
Nakama containers running
Use the Open in Visual Studio Code button (or that for your IDE) to edit your docker-compose.yml file directly.
You can also access the Nakama Console by navigating your browser to 127.0.0.1:7351.
When prompted to login, the default credentials are admin for username and password for password. These can be changed via configuration file or command-line flags.
If you want to further configure and customize your Nakama Server, check this overview on how to provide a custom configuration for your Nakama server, and all available configuration properties.