# Local Setup

**URL:** https://forum.heroiclabs.com/c/help/10.md?page=3

[Latest](https://forum.heroiclabs.com/latest.md) · [Categories](https://forum.heroiclabs.com/categories.md) · [Tags](https://forum.heroiclabs.com/tags.md)

**Page:** 4

---

## [Socket setup with dedicated server](https://forum.heroiclabs.com/t/socket-setup-with-dedicated-server/5023)

<div class="topic-metadata">

**Author:** [@jeremyhcho](https://forum.heroiclabs.com/u/jeremyhcho)\
**Replies:** 0\
**Last updated:** [March 4, 2024, 10:12pm UTC](https://forum.heroiclabs.com/t/socket-setup-with-dedicated-server/5023 "2024-03-04T22:12:13Z")

</div>

Hi, I have a dedicated authoritative server that my game clients connect to. The game server is the only entity that initializes a Nakama client and the game clients only interact with the game server. When implementing…

---

## [I need help upgrading fish-game OnlineMatch.gd code to 4.1](https://forum.heroiclabs.com/t/i-need-help-upgrading-fish-game-onlinematch-gd-code-to-4-1/5006)

<div class="topic-metadata">

**Author:** [@zimlewis](https://forum.heroiclabs.com/u/zimlewis)\
**Replies:** 1\
**Last updated:** [March 1, 2024, 3:39pm UTC](https://forum.heroiclabs.com/t/i-need-help-upgrading-fish-game-onlinematch-gd-code-to-4-1/5006 "2024-03-01T15:39:51Z")

</div>

I recently watched this tutorial of FinePointCGI and that was a godot 3.5 tutorial(I couldn’t find any 4.2 tutorial). He copied the whole 2 of the Online.gd and OnlineMatch.gd from the template project fishgame which her…

---

## [Lobby matchmaking](https://forum.heroiclabs.com/t/lobby-matchmaking/1180)

<div class="topic-metadata">

**Author:** [@LucasGaspar](https://forum.heroiclabs.com/u/LucasGaspar)\
**Replies:** 7\
**Last updated:** [February 13, 2024, 5:40pm UTC](https://forum.heroiclabs.com/t/lobby-matchmaking/1180 "2024-02-13T17:40:08Z")

</div>

Hello! I’m just starting experimenting with Nakama, I’m loving it so far! What I need to achieve is to implement a lobby-like matchmaking, I need that a player should be able to create a room and wait for the rest of th…

---

## [Unable to add Runtime Modules](https://forum.heroiclabs.com/t/unable-to-add-runtime-modules/4960)

<div class="topic-metadata">

**Author:** [@RampantDespair](https://forum.heroiclabs.com/u/RampantDespair)\
**Replies:** 6\
**Last updated:** [February 13, 2024, 11:29am UTC](https://forum.heroiclabs.com/t/unable-to-add-runtime-modules/4960 "2024-02-13T11:29:24Z")

</div>

I’m new to Docker and Nakama as a whole, so I do apologize if the answers to my questions are quite obvious. That being said, I am trying to add Go Modules to my Nakama setup. I have tried the following solution (nakam…

---

## [Possible to use Dockerfile but \*not\* docker-compose?](https://forum.heroiclabs.com/t/possible-to-use-dockerfile-but-not-docker-compose/4930)

<div class="topic-metadata">

**Author:** [@seltzerfish](https://forum.heroiclabs.com/u/seltzerfish)\
**Replies:** 1\
**Last updated:** [January 29, 2024, 11:17pm UTC](https://forum.heroiclabs.com/t/possible-to-use-dockerfile-but-not-docker-compose/4930 "2024-01-29T23:17:10Z")

</div>

Overview I want to run nakama (go runtime) on railway.app, but railway does not support docker compose. I have my own remote instance of cockroachdb, so i do not need the cockroach service in the default compose file. Im…

---

## [Leaderboard cannot sync to other node behind the aws load balance](https://forum.heroiclabs.com/t/leaderboard-cannot-sync-to-other-node-behind-the-aws-load-balance/4911)

<div class="topic-metadata">

**Author:** [@mengxin](https://forum.heroiclabs.com/u/mengxin)\
**Replies:** 3\
**Last updated:** [January 24, 2024, 4:18pm UTC](https://forum.heroiclabs.com/t/leaderboard-cannot-sync-to-other-node-behind-the-aws-load-balance/4911 "2024-01-24T16:18:35Z")

</div>

we are using the AWS load balance to server multiple nodes of nakama multiple nodes connect to the same database (RDS) we are using the leardboard feature currently, but we find an issue: after the leaderboard created o…

---

## [Nakama server not loading custom config file](https://forum.heroiclabs.com/t/nakama-server-not-loading-custom-config-file/4910)

<div class="topic-metadata">

**Author:** [@hamzaRetrocube](https://forum.heroiclabs.com/u/hamzaRetrocube)\
**Replies:** 1\
**Last updated:** [January 24, 2024, 2:50pm UTC](https://forum.heroiclabs.com/t/nakama-server-not-loading-custom-config-file/4910 "2024-01-24T14:50:12Z")

</div>

Hi, I am trying to load a custom config file for my game but it does not seem to load that file I have tried everything that I can find but it does not seem to fix my issue. I have also attached my docker-compose file. d…

---

## [Following the Getting Started Tutorial for Docker Compose, get fatal error when using my own config file](https://forum.heroiclabs.com/t/following-the-getting-started-tutorial-for-docker-compose-get-fatal-error-when-using-my-own-config-file/4886)

<div class="topic-metadata">

**Author:** [@ultramarinebicycle](https://forum.heroiclabs.com/u/ultramarinebicycle)\
**Replies:** 1\
**Last updated:** [January 18, 2024, 11:32am UTC](https://forum.heroiclabs.com/t/following-the-getting-started-tutorial-for-docker-compose-get-fatal-error-when-using-my-own-config-file/4886 "2024-01-18T11:32:08Z")

</div>

As the note says, I first edit the nakama:volumes line in the config file as I’m on Windows: /c/Users/\<my username\>/projects/docker/data:/nakama/data This creates the data directory in the above userpath. Next, I add a…

---

## [why nakama can not debug in goland](https://forum.heroiclabs.com/t/why-nakama-can-not-debug-in-goland/4406)

<div class="topic-metadata">

**Author:** [@jiangben](https://forum.heroiclabs.com/u/jiangben)\
**Replies:** 8\
**Last updated:** [January 17, 2024, 4:14pm UTC](https://forum.heroiclabs.com/t/why-nakama-can-not-debug-in-goland/4406 "2024-01-17T16:14:05Z")

</div>

i clone source code and config like this。 whe i run go build main.go and set a breakpoint . then i get error like this。 We can’t debug Nakama’s source code directly. We can only embed it in a Docker runtime. w…

---

## [Nakama typescript using Docker loads main.go instead of main.ts](https://forum.heroiclabs.com/t/nakama-typescript-using-docker-loads-main-go-instead-of-main-ts/4852)

<div class="topic-metadata">

**Author:** [@StudioParaNoya](https://forum.heroiclabs.com/u/StudioParaNoya)\
**Replies:** 6\
**Last updated:** [January 16, 2024, 5:47am UTC](https://forum.heroiclabs.com/t/nakama-typescript-using-docker-loads-main-go-instead-of-main-ts/4852 "2024-01-16T05:47:19Z")

</div>

Hi, I am using Nakama 3:20 with Typescript. Whenever I docker-compose up, the message I receive in terminal is about .go and not .ts Here is my Dockerfile: FROM node:alpine AS node-builder WORKDIR /backend COPY pack…

---

## [Server travel with Unreal engine and Equipment system](https://forum.heroiclabs.com/t/server-travel-with-unreal-engine-and-equipment-system/4865)

<div class="topic-metadata">

**Author:** [@AmazingJungle](https://forum.heroiclabs.com/u/AmazingJungle)\
**Replies:** 1\
**Last updated:** [January 14, 2024, 3:13pm UTC](https://forum.heroiclabs.com/t/server-travel-with-unreal-engine-and-equipment-system/4865 "2024-01-14T15:13:07Z")

</div>

Hey ! have a few questions for Nakama on unreal engine. When changing maps, do you recommend saving the connection variables in gameinstance? And if in a game I have an equipment systemt, do I save it in storage or do I …

---

## [Nakama/Docker Path Issues](https://forum.heroiclabs.com/t/nakama-docker-path-issues/2749)

<div class="topic-metadata">

**Author:** [@khamarr3524](https://forum.heroiclabs.com/u/khamarr3524)\
**Replies:** 10\
**Last updated:** [January 10, 2024, 4:52pm UTC](https://forum.heroiclabs.com/t/nakama-docker-path-issues/2749 "2024-01-10T16:52:28Z")

</div>

Trying to set up a Dockerfile, docker-compose.yml, and configuration file to use the JavaScript runtime. I was able to get this set up manually however when I tried to move to Dockerfile/docker-compose the server\_nakama …

---

## [Nakama docker works but after a while cockroachdb container falling](https://forum.heroiclabs.com/t/nakama-docker-works-but-after-a-while-cockroachdb-container-falling/3772)

<div class="topic-metadata">

**Author:** [@ennteresan](https://forum.heroiclabs.com/u/ennteresan)\
**Replies:** 12\
**Last updated:** [January 8, 2024, 4:24pm UTC](https://forum.heroiclabs.com/t/nakama-docker-works-but-after-a-while-cockroachdb-container-falling/3772 "2024-01-08T16:24:21Z")

</div>

{ Nakama docker on digitalocean server works well. but after a while only cockroachdb container falls nakama and prometheus containers keep running. how can i determine problem and solve this? } {Details} Ver…

---

## [Cockroachlabs cloud RU constantly consumed without any client connection](https://forum.heroiclabs.com/t/cockroachlabs-cloud-ru-constantly-consumed-without-any-client-connection/4696)

<div class="topic-metadata">

**Author:** [@mengxin](https://forum.heroiclabs.com/u/mengxin)\
**Replies:** 4\
**Last updated:** [January 8, 2024, 3:30pm UTC](https://forum.heroiclabs.com/t/cockroachlabs-cloud-ru-constantly-consumed-without-any-client-connection/4696 "2024-01-08T15:30:11Z")

</div>

we find cockroachlabs cloud RU constantly is consumed without any client connection. May I ask does nakama server constantly access database and do some read or write operation even there is no any client connect to the …

---

## [Following the tutorial for unreal, but something different](https://forum.heroiclabs.com/t/following-the-tutorial-for-unreal-but-something-different/4822)

<div class="topic-metadata">

**Author:** [@danke1](https://forum.heroiclabs.com/u/danke1)\
**Replies:** 0\
**Last updated:** [January 2, 2024, 8:51am UTC](https://forum.heroiclabs.com/t/following-the-tutorial-for-unreal-but-something-different/4822 "2024-01-02T08:51:08Z")

</div>

How can i enter the place as seen the image in tutorial youtube? {Details} Versions: Nakama {3.5}, {Windows, Mac, Linux binary or Docker}, {client library (SDK) and version} Server Framework Runtime language (…

---

## [Deployment installation startup failed](https://forum.heroiclabs.com/t/deployment-installation-startup-failed/4636)

<div class="topic-metadata">

**Author:** [@dary12345](https://forum.heroiclabs.com/u/dary12345)\
**Replies:** 4\
**Last updated:** [December 11, 2023, 10:54am UTC](https://forum.heroiclabs.com/t/deployment-installation-startup-failed/4636 "2023-12-11T10:54:52Z")

</div>

I followed the documentation tutorial to use docker compose for deployment and installation on centos, and it prompted /bin/sh /nakama/nakama/ not found.

---

## [Digital Ocean App Issue](https://forum.heroiclabs.com/t/digital-ocean-app-issue/4706)

<div class="topic-metadata">

**Author:** [@Sathyaraj](https://forum.heroiclabs.com/u/Sathyaraj)\
**Replies:** 2\
**Last updated:** [December 11, 2023, 6:19am UTC](https://forum.heroiclabs.com/t/digital-ocean-app-issue/4706 "2023-12-11T06:19:42Z")

</div>

Hi, I was able to create a droplet in DigitalOcean and deploy the Nakama server successfully, Now I am trying to create a DigitalOcean App instead of a Droplet to make use of auto-scaling and CI/CD. I get the following …

---

## [Performance issue](https://forum.heroiclabs.com/t/performance-issue/4705)

<div class="topic-metadata">

**Author:** [@navid](https://forum.heroiclabs.com/u/navid)\
**Replies:** 1\
**Last updated:** [December 8, 2023, 1:49pm UTC](https://forum.heroiclabs.com/t/performance-issue/4705 "2023-12-08T13:49:32Z")

</div>

Hello , we have a performance problem with nakama and cockroachdb. We have 10 thousand concurrent users , after a few hours there are more than 30 thousand ports in wait\_time state. we get this message in nakama: {“le…

---

## [Distributing Nakama Binaries via Nx Plugin](https://forum.heroiclabs.com/t/distributing-nakama-binaries-via-nx-plugin/4618)

<div class="topic-metadata">

**Author:** [@Glowdragon](https://forum.heroiclabs.com/u/Glowdragon)\
**Replies:** 7\
**Last updated:** [November 28, 2023, 3:14pm UTC](https://forum.heroiclabs.com/t/distributing-nakama-binaries-via-nx-plugin/4618 "2023-11-28T15:14:00Z")

</div>

I’m currently developing an Nx plugin for Nakama and have a question regarding distribution. My plugin aims to streamline the installation process by allowing users to download Nakama releases directly from GitHub via th…

---

## [I need help with a really laggy local setup](https://forum.heroiclabs.com/t/i-need-help-with-a-really-laggy-local-setup/4645)

<div class="topic-metadata">

**Author:** [@otaviosoato](https://forum.heroiclabs.com/u/otaviosoato)\
**Replies:** 2\
**Last updated:** [November 26, 2023, 8:26pm UTC](https://forum.heroiclabs.com/t/i-need-help-with-a-really-laggy-local-setup/4645 "2023-11-26T20:26:36Z")

</div>

Hi everyone! I’m new to Nakama and I’m trying to create a multiplayer prototype in Godot using Client Relayed Multiplayer, but every code that I wrote results in a laggy gameplay synchronization. I tried the docker setu…

---

## [CockroachDB issue upgrading local Nakama](https://forum.heroiclabs.com/t/cockroachdb-issue-upgrading-local-nakama/4598)

<div class="topic-metadata">

**Author:** [@dngd44](https://forum.heroiclabs.com/u/dngd44)\
**Replies:** 3\
**Last updated:** [November 14, 2023, 12:31pm UTC](https://forum.heroiclabs.com/t/cockroachdb-issue-upgrading-local-nakama/4598 "2023-11-14T12:31:32Z")

</div>

I’m trying to use the docker-compose.yml for version v23.1 of CockroachDB & v3.19.0 of Nakama but it’s failing and I can’t figure out why. I receive an error from docker “ls: cannot access ‘cockroach-data’: No such file…

---

## [Docker deploys cockroachdb database backup solution](https://forum.heroiclabs.com/t/docker-deploys-cockroachdb-database-backup-solution/4562)

<div class="topic-metadata">

**Author:** [@hexun80149128](https://forum.heroiclabs.com/u/hexun80149128)\
**Replies:** 1\
**Last updated:** [November 8, 2023, 9:56am UTC](https://forum.heroiclabs.com/t/docker-deploys-cockroachdb-database-backup-solution/4562 "2023-11-08T09:56:45Z")

</div>

Docker deploys cockroachdb database backup solution. Any good recommendations? Thanks

---

## [Help setting up XoXo - cannot find index.html file](https://forum.heroiclabs.com/t/help-setting-up-xoxo-cannot-find-index-html-file/4476)

<div class="topic-metadata">

**Author:** [@StudioParaNoya](https://forum.heroiclabs.com/u/StudioParaNoya)\
**Replies:** 2\
**Last updated:** [October 19, 2023, 1:44am UTC](https://forum.heroiclabs.com/t/help-setting-up-xoxo-cannot-find-index-html-file/4476 "2023-10-19T01:44:16Z")

</div>

Hi, I am new to Nakama and was currently trying to setup the Xoxo tutorial game. I followed the tutorial up to Configuring your JavaScript framework Add the PhaserJS script tag to your index.html file The problem is …

---

## [Podman-compose. Error pinging database (my-config.yml)](https://forum.heroiclabs.com/t/podman-compose-error-pinging-database-my-config-yml/4473)

<div class="topic-metadata">

**Author:** [@LakoMoor](https://forum.heroiclabs.com/u/LakoMoor)\
**Replies:** 1\
**Last updated:** [October 17, 2023, 10:35am UTC](https://forum.heroiclabs.com/t/podman-compose-error-pinging-database-my-config-yml/4473 "2023-10-17T10:35:45Z")

</div>

I’m trying to move my-config.yml to a docker container (podman). After entering the command, nakama returns this error. \[nakama\] | {"level":"fatal","ts":"2023-10-16T15:31:00.669Z","caller":"server/db.go:86","msg":"…

---

## [SteamID and GDPR](https://forum.heroiclabs.com/t/steamid-and-gdpr/4466)

<div class="topic-metadata">

**Author:** [@BigJoe01](https://forum.heroiclabs.com/u/BigJoe01)\
**Replies:** 0\
**Last updated:** [October 16, 2023, 2:41pm UTC](https://forum.heroiclabs.com/t/steamid-and-gdpr/4466 "2023-10-16T14:41:09Z")

</div>

Hi, I have a question related to GDPR and Steam ID. The Nakama server does not encode the SteamID before writing it out to the database. Does this meet the GDPR standards, or do we need to encode/decode on our side? …

---

## [How to use rUDP for a mobile multiplayer game using Unity?](https://forum.heroiclabs.com/t/how-to-use-rudp-for-a-mobile-multiplayer-game-using-unity/3927)

<div class="topic-metadata">

**Author:** [@umen](https://forum.heroiclabs.com/u/umen)\
**Replies:** 3\
**Last updated:** [October 3, 2023, 11:52am UTC](https://forum.heroiclabs.com/t/how-to-use-rudp-for-a-mobile-multiplayer-game-using-unity/3927 "2023-10-03T11:52:21Z")

</div>

Sorry if this is not the right forum to post in. I would like to test mobile multiplayer using rUDP. However, the problem is that I can’t find anything regarding rUDP in the documentation or any tutorials about setting …

---

## [Debugger tutorial not working with mac M1](https://forum.heroiclabs.com/t/debugger-tutorial-not-working-with-mac-m1/4377)

<div class="topic-metadata">

**Author:** [@pyrofolium](https://forum.heroiclabs.com/u/pyrofolium)\
**Replies:** 0\
**Last updated:** [September 22, 2023, 4:52pm UTC](https://forum.heroiclabs.com/t/debugger-tutorial-not-working-with-mac-m1/4377 "2023-09-22T16:52:12Z")

</div>

The above is the tutorial I’m following to get it working. The below is a minimal set up I’m trying to debug on: Instructions on how to reproduce the problem on a mac M1 are in the readme. Basically it doesn’t wor…

---

## [Lua Tutorial](https://forum.heroiclabs.com/t/lua-tutorial/4371)

<div class="topic-metadata">

**Author:** [@ElevenArvind](https://forum.heroiclabs.com/u/ElevenArvind)\
**Replies:** 0\
**Last updated:** [September 21, 2023, 5:58am UTC](https://forum.heroiclabs.com/t/lua-tutorial/4371 "2023-09-21T05:58:22Z")

</div>

I’ve been trying to setup Lua server runtime by following the guide mentioned but can’t seem to find the docker-compose.yml file. I even tried out the javascript tutorial and was able to setup everything but the healthch…

---

## [Connect to Pgadmin](https://forum.heroiclabs.com/t/connect-to-pgadmin/4365)

<div class="topic-metadata">

**Author:** [@Mehrdadgame](https://forum.heroiclabs.com/u/Mehrdadgame)\
**Replies:** 0\
**Last updated:** [September 20, 2023, 11:16am UTC](https://forum.heroiclabs.com/t/connect-to-pgadmin/4365 "2023-09-20T11:16:49Z")

</div>

I have issue to connect Postgres . I did create Postgres db when connect in Pgadmin had a error password :my docker compos is \` version: ‘3.3’ services: postgres: container\_name: postgres image: postgres:12.2-alpin…

---

## [Console Status shows no data](https://forum.heroiclabs.com/t/console-status-shows-no-data/4360)

<div class="topic-metadata">

**Author:** [@dela](https://forum.heroiclabs.com/u/dela)\
**Replies:** 1\
**Last updated:** [September 19, 2023, 4:23pm UTC](https://forum.heroiclabs.com/t/console-status-shows-no-data/4360 "2023-09-19T16:23:01Z")

</div>

I wonder if this is a problem with my setup or this is a general design choice. I noticed that on the status page of the nakama console (http://localhost:7351/#/status) it allows to select a time range up to 24h. But in…

[Previous page](https://forum.heroiclabs.com/c/help/10.md?page=2)

[Next page](https://forum.heroiclabs.com/c/help/10.md?page=4)
