Skip to content

Conversation

@Taukon
Copy link

@Taukon Taukon commented Jul 9, 2025

This PR adds sample scripts to initialize a MongoDB database for use with rtcstats-server.

  • Install the MongoDB client module:

    npm install mongodb
  • You can start a local MongoDB container with a command like the following:

    docker run -d \
      --name mongodb \
      -p 27017:27017 \
      -e MONGO_INITDB_ROOT_USERNAME=your_username \
      -e MONGO_INITDB_ROOT_PASSWORD=your_password \
      -v "$(pwd)/mongodb_db:/data/db" \
      --user "$(id -u):$(id -g)" \
      mongo

@Taukon Taukon marked this pull request as ready for review July 9, 2025 17:04
@andrei-gavrilescu andrei-gavrilescu merged commit f3a9855 into jitsi:master Jul 22, 2025
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants