Open Skyedra opened 6 days ago
Hi @Skyedra, I assume you have the skye-config.ini
next to the docker-compose.yml?
In this case the MUMBLE_CUSTOM_CONFIG_FILE
is resolved from within the mumble-server container, thus it would need to be at /srv/mumble/data/skye-config.ini
.
Otherwise you need to do another volume passthrough for the configuration file in another location, e.g.:
volumes:
- /srv/mumble/data:/data
- type: bind
source: ./skye-config.ini
target: /skye-config.ini
ports:
- 64738:64738
- 64738:64738/udp
environment:
MUMBLE_CUSTOM_CONFIG_FILE: '/skye-config.ini'
See the implementation here for details (remember this runs inside of the container): https://github.com/mumble-voip/mumble-docker/blob/master/entrypoint.sh#L71
Hope that helps, happy mumbling :)
Thank you for the reply; actually, it was located at /srv/mumble/data/skye-config.ini
, next to other files that mumble can access:
# ls -lth /srv/mumble/data/
total 252K
-rw-r----- 1 10000 10000 224K Nov 4 02:02 mumble-server.sqlite
-rw-r--r-- 1 10000 10000 385 Oct 31 06:20 mumble_server_config.ini
-rw-r--r-- 1 root root 177 Oct 29 10:15 welcome.txt
-rw-r--r-- 1 10000 10000 18K Oct 29 08:59 skye-config.ini
I had given up on the custom config and ended up configuring via the docker compose env vars (ex: MUMBLE_CONFIG_welcometextfile: "welcome.txt"
etc). So resolving this issue is not a blocker for me, but still flagging as a potential bug in case anyone else happens upon it
(Other than that, mumble has been working well for my friend group, thanks ^.^)
If the value of the MUMBLE_CUSTOM_CONFIG_FILE
parameter is not a file (as soon from inside the container), then it is ignored. Since in your case even though you set the parameter, the variable is ignored, that means that the path you are using can't be resolved from within the container. Maybe try using the absolute path /data/skye-config.ini
:thinking:
I am having some trouble using a custom config file. I tried initially via docker compose, but I also tried using the command line syntax as documented on the main page:
My docker compose looks similar:
I tried with and without the apostrophes, but it didn't want to detect it. I can pass in other vars like
MUMBLE_CONFIG_ICE
and it picks up on those, but the custom config file seems to be ignored.