diff options
author | diftucs <95053553+diftucs@users.noreply.github.com> | 2021-12-25 05:25:42 +0300 |
---|---|---|
committer | diftucs <95053553+diftucs@users.noreply.github.com> | 2021-12-28 16:14:39 +0300 |
commit | 6e6d82cc940c1946d7f27509eb00253f4b74aec2 (patch) | |
tree | a895296a8b6609e8de1f0d86e233b9cbfa7c2392 /docs | |
parent | 5b31d4b83ce18785b9bb269436beaee4d6b94576 (diff) |
DOCS(docker): Correct grammar and styling
Diffstat (limited to 'docs')
-rw-r--r-- | docs/DockerCompose.md | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/docs/DockerCompose.md b/docs/DockerCompose.md index 2209ec39a..6c7afb689 100644 --- a/docs/DockerCompose.md +++ b/docs/DockerCompose.md @@ -1,37 +1,37 @@ # Docker Compose -## How to setup Mumble with Docker Compose? +## How do I set up Mumble with Docker Compose? 1. Make a new directory and create a new file inside called docker-compose.yml -2. Copy the information from https://github.com/mumble-voip/mumble/scripts/docker-compose.yml into the new file. +2. Copy the information from https://github.com/mumble-voip/mumble/scripts/docker-compose.yml into the new file -3. Create the data folder and make 1000 it's owner. +3. Create the data folder and make 1000 its owner 4. Create a new file called murmur.ini and copy the information from https://github.com/mumble-voip/mumble/blob/master/scripts/murmur.ini -In this file ensure to change `database=` to `database=/var/lib/murmur/murmur.sqlite` to ensure that the database is created in the correct location. Edit the rest of the file to your liking. +Be sure to change `database=` to `database=/var/lib/murmur/murmur.sqlite` in this file to ensure that the database is created in the correct location. Edit the rest of the file to your liking -5. Run docker-compose up -d to build and start the container. +5. Run docker-compose up -d to build and start the container ## How do I view the logs? -To view the logs type `docker logs mumble-server`. You can add -f to make it follow the log automatically updating it. +Type `docker logs mumble-server` to view the logs. You can add -f to make it follow the log. ## How do I use the release build instead of master? To use stable version instead of the latest master change `#master` at the end of the build line in the docker compose to whichever branch you want to compile. For example, `build: github.com/mumble-voip/mumble#1.4.x` will build version 1.4.x instead of master. -## How do I add Letsencrypt Certificates with Docker? +## How do I add Let's Encrypt certificates with Docker Compose? -To add Letsencrypt Certificates to docker you can move the certifcates to a location user 1000 can read and add an extra volume to the docker compose file. +To add Let's Encrypt certificates to the container you can move the certificates to a location user 1000 can read and add an extra volume to the Docker Compose file. -Or you can add the run the docker container as root. To do this: +Alternatively, you can run the Docker container as root by following these steps: -1. Add `user: "0:0"` to the docker compose file +1. Add `user: "0:0"` to the Docker Compose file -2. Add `- /etc/letsencrypt/:/certs:ro` to the volume section of the docker compose file. +2. Add `- /etc/letsencrypt/:/certs:ro` to the volume section of the Docker Compose file -3. Edit the murmur.ini changing `uname` to `uname=murmur` to make it switch to a non root user after reading the cert. +3. Change `uname` to `uname=murmur` in murmur.ini to make Murmur switch to a non root user after reading the cert -4. Change the `sslCert` and `sslKey` to the path of the certificate and key. +4. Change `sslCert` and `sslKey` to the path of the certificate and key respectively |