[GH-ISSUE #3918] docker-compose.yml is missing volume for coturn service #7647

Open
opened 2026-08-05 01:13:53 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @B-z-F on GitHub (Jun 3, 2025).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/3918

Describe the problem

After successful installation, the docker-compose.yml file is created (from getting-started-with-zitadel.sh via function renderDockerCompose()). Each time docker compose up -d is run, a random directory is created in the /var/lib/docker/volumes directory and persists there.
This is a coturn service directory that is not defined in the docker-compose.yml file - in docker inspect coturn/coturn is defined:

...
      "Volumes": {
        "/var/lib/coturn": {}
...

There should be defined volume in the docker-compose.yml file for coturn service - either temporary:

    tmpfs:
      - /var/lib/coturn

or permanent - depending on the amount of data that may occur (which I can't judge).

In the case of a temporary one, it would be appropriate to limit the resources allocated to tmpfs.

To Reproduce

Install netbird, run docker compose up -d and docker compose down several times - there will be random directories in the /var/lib/docker/volumes

Are you using NetBird Cloud?

self-host NetBird's control plane.

NetBird version

netbird version 0.45.2

Originally created by @B-z-F on GitHub (Jun 3, 2025). Original GitHub issue: https://github.com/netbirdio/netbird/issues/3918 **Describe the problem** After successful installation, the *docker-compose.yml* file is created (from *getting-started-with-zitadel.sh* via function `renderDockerCompose()`). Each time `docker compose up -d` is run, a random directory is created in the */var/lib/docker/volumes* directory and persists there. This is a coturn service directory that is not defined in the docker-compose.yml file - in `docker inspect coturn/coturn` is defined: ``` ... "Volumes": { "/var/lib/coturn": {} ... ``` There should be defined volume in the docker-compose.yml file for coturn service - either temporary: ``` tmpfs: - /var/lib/coturn ``` or permanent - depending on the amount of data that may occur (which I can't judge). In the case of a temporary one, it would be appropriate to limit the resources allocated to *tmpfs*. **To Reproduce** Install netbird, run `docker compose up -d` and `docker compose down` several times - there will be random directories in the */var/lib/docker/volumes* **Are you using NetBird Cloud?** self-host NetBird's control plane. **NetBird version** `netbird version 0.45.2`
saavagebueno added the triage-needed label 2026-08-05 01:13:53 -04:00
Sign in to join this conversation.
No Label triage-needed
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#7647