GithubHelp home page GithubHelp logo

danieleagle / murmur-docker Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 8 KB

Docker files for Murmur server, a component of Mumble. Mumble is a fast and efficient VOIP solution.

License: MIT License

murmur-docker's Introduction

Murmur Docker Image

Docker files for Murmur server, a component of Mumble. Mumble is a fast and efficient VOIP solution.

Getting Started

Instructions within are geared toward Linux distributions.

  1. Ensure Docker Compose is installed along with Docker Engine. The included docker-compose.yml file uses version 3 so it's possible an upgrade of Docker Compose may be required.

  2. Create a Docker network named main.

  3. Clone this repository to the folder of your choice.

  4. Create the folders ./volume_data/config and ./volume_data/main.

  5. Copy the config file found at ./config/murmur.ini to ./volume_data/config. Edit the file afterward to change desired settings (e.g. server password, etc.). For more details on this file, see the official Murmurguide.

  6. Change the owner of the folders by running sudo chown -R 1077:1077 ./volume_data. This allows the murmur user account the container runs as to access these folders.

  7. Run the command docker-compose -up -d.

  8. Get the super user password by running sudo docker logs Murmur 2>&1 | grep Password.

Container Network

The network specified (can be changed to the desired value) by this Docker container is named main. It is assumed that this network has already been created prior to using the included Docker Compose file. The reason for this is to avoid generating a default network.

If no network has been created, run the following Docker command: sudo docker network create network-name. Be sure to replace network-name with the name of the desired network. For more information on this command, go here.

Port Mapping

The external port used to map to the internal port that Murmur uses is 51200 (maps to 64738). This can certainly be changed but please be mindful of the effects. Additional configuration may be required as a result.

Data Volumes

It is possible to change the data volume folders mapped to the Murmur container to something other than volume_data/x if desired. It is recommended to choose a naming scheme that is easy to recognize.

Logrotate Example

In order to properly rotate the logs that Murmur outputs, logrotate can be used. The logs for this container can be found at /var/lib/docker/containers.

It is recommended to create a file with logrotate settings for all Docker containers and copy it to /etc/logrotate.d. This would rotate all the logs for all Docker containers.

/var/lib/docker/containers/*/*.log {
  rotate 52
  weekly
  compress
  size=1M
  missingok
  delaycompress
  copytruncate
}

Special Thanks

Special thanks goes to Matt Kemp for his Murmur Docker image that served as an inspiration for this solution.

murmur-docker's People

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.