# Config not taking effect and not showing in console

**URL:** <https://forum.heroiclabs.com/t/config-not-taking-effect-and-not-showing-in-console/6394>\
**Category:** Local Setup\
**Created:** [September 6, 2025, 4:59pm UTC](https://forum.heroiclabs.com/t/config-not-taking-effect-and-not-showing-in-console/6394 "2025-09-06T16:59:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alx](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/alx/32/2629_2.png) [@Alx](https://forum.heroiclabs.com/u/Alx)\
**Post date:** [September 6, 2025, 4:59pm UTC](https://forum.heroiclabs.com/t/config-not-taking-effect-and-not-showing-in-console/6394/1 "2025-09-06T16:59:52Z")

</div>

1- I followed the docker setup: [Docker Compose - Heroic Labs Documentation](https://heroiclabs.com/docs/nakama/getting-started/install/docker/)

it says: `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.`

2- followed the config setup: [Server Configuration - Heroic Labs Documentation](https://heroiclabs.com/docs/nakama/server-framework/server-configuration/)

it says: `Edit the nakama:volumes: entry to specify your desired volume. For example, to create a /data folder in our desktop/nakama directory used above, which would be available at nakama/data in your Docker container` (reverting what it said in the setup above). so final result is:

```auto
volumes:
      - ./data:/nakama/data

```

3- but in `config.yml` I used only:

```auto
socket:
  server_key: testServerKey

```

4- `Open your docker-compose.yml file again, this time to edit the nakama:entrypoint entry to add the --config flag pointing to your configuration file. It should look like this:` edited to add this `/nakama/nakama --config /nakama/data/config.yml`. the final entry looks like:

```auto
entrypoint:
      - "/bin/sh"
      - "-ecx"
      - >
          /nakama/nakama migrate up --database.address postgres:localdb@postgres:5432/nakama &&
          exec /nakama/nakama --name nakama1 --database.address postgres:localdb@postgres:5432/nakama --logger.level DEBUG --session.token_expiry_sec 7200 &&
          /nakama/nakama --config /nakama/data/config.yml

```

the end result is that the console is still showing the default config values.

also when I export the console config, edit the keys I want then try to pass it by calling `/nakama/nakama --config /nakama/data/config.yml` in shell, I get errors that it failed to ping the postgres db. and also many of the values are redacted or invalid (the `party` entry is null and I get an error to add some missing values)

What is the easiest way to edit the config? I jsut want to update the server key.

1. Versions: Nakama {3.5}, {Windows, Mac, Linux binary or Docker}, {client library (SDK) and version}
2. Server Framework Runtime language (If relevant) {Go, TS/JS, Lua}

```auto
{code or log snippet}

```

📺 **Media:**

---

<div class="post-metadata">

**Author:** ![Alx](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.heroiclabs.com/alx/32/2629_2.png) [@Alx](https://forum.heroiclabs.com/u/Alx)\
**Post date:** [September 7, 2025, 3:51am UTC](https://forum.heroiclabs.com/t/config-not-taking-effect-and-not-showing-in-console/6394/2 "2025-09-07T03:51:58Z")

</div>

the issue was in my entry point, solved by this [comment](https://forum.heroiclabs.com/t/server-cant-find-config-file/1422/10).
