Stieneee / mumble-discord-bridge

A simple voice bridge between Mumble and Discord.
MIT License
149 stars 16 forks source link

Error to search for my certificate #49

Closed xxp4xx closed 1 year ago

xxp4xx commented 1 year ago

On my launch line i have this:

sudo docker run -e MUMBLE_ADDRESS=** -e MUMBLE_PORT=* -e MUMBLE_USERNAME=DISCORD -e DISCORD_TOKEN=*** -e DISCORD_GID=** -e DISCORD_CID=*** -e MUMBLE_CERTIFICATE=/home/ubuntu stieneee/mumble-discord-bridge

and it gives me back

/opt/mumble-discord-bridge: open /home/ubuntu: no such file or directory

how can i type correctly where my certificate is?

Stieneee commented 1 year ago

If you are running in docker you will have to mount the certificate in your container.

https://docs.docker.com/storage/volumes/

sudo docker run -e MUMBLE_ADDRESS=** -e MUMBLE_PORT=* -e MUMBLE_USERNAME=DISCORD -e DISCORD_TOKEN=*** -e DISCORD_GID=** -e DISCORD_CID=*** -e MUMBLE_CERTIFICATE=/home/ubuntu/certs/mycert.cert -v {path_to_local_folder}:/home/ubuntu/certs stieneee/mumble-discord-bridge

Replace {path_to_local_folder} with the folder containing your cert. that folder will be mount in the container at /home/ubuntu/certs/