Minimal run command using docker-compose (with environment variables for IP/Port/Password):
sudo -E docker-compose run -e MUMBLE_IP -e MUMBLE_PORT -e MUMBLE_PASSWORD bot -generatecert -username 'bot_username' -superuser 'superuser_username'
Minimal run command using docker-compose (no environment variables):
sudo docker-compose run bot -generatecert -ip 'server_ip' -port 'server_port' -username 'bot_username' -superuser 'superuser_username'
But I think most people use the docker-compose with a docker-compose.yml file where they have other services like Nextcloud, Jellyfin etc and the docs don't provide a snippet that can be included in a docker-compose.yml file
I actually made one that works for me (please if someone can test):
I think it's important to add the .yml file. One could say its trivial to create a docker-compose.yml file based on the docker run command from the docs using eg. www.composerize.com but that website doesn't understand the stuff that's in the command: property above and returns 'true'
Plus it's the first time I actually see -generatecert etc. launch commands being used :P
It may be worth adding some volumes to the .yml I provided.
So that you can docker rm [jjmumblebotcontainer] and docker pull the latest docker image and make configs persist etc.
Post any issues with the wiki here -
This may include:
It'd be nice to add docker-compose .yml to https://duckboss.github.io/JJMumbleBot/wiki/general/docker.html
There's already the below snippet:
But I think most people use the docker-compose with a docker-compose.yml file where they have other services like Nextcloud, Jellyfin etc and the docs don't provide a snippet that can be included in a docker-compose.yml file
I actually made one that works for me (please if someone can test):
I think it's important to add the .yml file. One could say its trivial to create a docker-compose.yml file based on the docker run command from the docs using eg. www.composerize.com but that website doesn't understand the stuff that's in the
command:
property above and returns 'true'Plus it's the first time I actually see
-generatecert
etc. launch commands being used :P