Giter Club home page Giter Club logo

Comments (13)

Krzmbrzl avatar Krzmbrzl commented on August 31, 2024 1

Additional underscores in the variable names are ignored (see README)

from mumble-docker.

Krzmbrzl avatar Krzmbrzl commented on August 31, 2024

@azlux do you have an idea? I don't have any experience with docker compose.

@BorisBrock could you try running the container manually to see if the result remains the same?

from mumble-docker.

BorisBrock avatar BorisBrock commented on August 31, 2024

@Krzmbrzl Starting the container without Docker Compose actually works. In that case the environment variables are applied as expected.

from mumble-docker.

Krzmbrzl avatar Krzmbrzl commented on August 31, 2024

Interesting. In that case my suspicion would be that for some reason docker compose doesn't set the environment variables as expected 🤔

from mumble-docker.

azlux avatar azlux commented on August 31, 2024

@BorisBrock Do you find your ENV into the output of docker inspect <container runn ID (can be found with docker ps | grep mumble)>

from mumble-docker.

restitux avatar restitux commented on August 31, 2024

Shouldn't the environment variable be MUMBLE_CONFIG_WELCOMETEXT not MUMBLE_CONFIG_WELCOME_TEXT (note the removed space)?

from mumble-docker.

rastacalavera avatar rastacalavera commented on August 31, 2024

Hello,

I tried a modification of @BorisBrock and the welcome message works fine, but I had issues with a volume mount and default channels.

When I try to bring the container up, I get a permission error of:

2022-10-06T02:25:12.742473486Z /entrypoint.sh: line 77: /data/mumble_server_config.ini: Permission denied
2022-10-06T02:25:20.061774974Z /entrypoint.sh: line 77: /data/mumble_server_config.ini: Permission denied

My host user has the ID of 1000 and I even specified the PUID/GUID in the compose file but it still makes everything as root.

So then for testing, I sudo chmod 777 data/mumble and everything starts to work but there are no other channels than root.

My compose file is shown below:

services:
  murmur:
    container_name: murmur
    image: mumblevoip/mumble-server:latest
    restart: unless-stopped
    ports:
      - "49155:50051/tcp"
      - "64738:64738/tcp"
      - "64738:64738/udp"
    environment:
       MUMBLE_CONFIG_SERVER_PASSWORD: "mypassword"
       MUMBLE_CONFIG_WELCOME_TEXT: "Howdy Ya'll This is a Mumble Server"
       MUMBLE_CONFIG_USERS: "8"
       MUMBLE_CONFIG_BANDWIDTH: "128000"
       MUMBLE_CONFIG_channelname: "lobby"
       MUMBLE_CONFIG_channelname: "hello"
       MUMBLE_CONFIG_defaultchannel: "2"
       PUID: "1000"
       GUID: "1000"
    volumes:
      - "./data/mumble:/data:rw"

from mumble-docker.

Krzmbrzl avatar Krzmbrzl commented on August 31, 2024

but there are no other channels than root.

Yes that is to be expected. You can't add channels via the INI file. That's currently a limitation of the Mumble server config system and unrelated to the Docker image itself.

As for why everything is created as root, idk 🤷

from mumble-docker.

TBhimdi avatar TBhimdi commented on August 31, 2024

My host user has the ID of 1000 and I even specified the PUID/GUID in the compose file but it still makes everything as root.

Had the same Permission Denied issue. I don't know if the MUMBLE_UID/MUMBLE_GID environment variables work (I excluded them after realizing that). Since I already had my host user as 1000/1000, I set MUMBLE_CONFIG_UNAME as the same host username and the volume bind started working correctly. No chmod necessary.

Having a working MUMBLE_UID/MUMBLE_GID and being able to set a timezone, all using environment variables, would be a welcome change.

from mumble-docker.

Krzmbrzl avatar Krzmbrzl commented on August 31, 2024

The UID and GID options are for building the image only. Are you aware of that?

from mumble-docker.

TBhimdi avatar TBhimdi commented on August 31, 2024

The UID and GID options are for building the image only. Are you aware of that?

I was not. Then I assume the PUID/GUID options in the above compose file wouldn't work either?

from mumble-docker.

Krzmbrzl avatar Krzmbrzl commented on August 31, 2024

I don't know what these options are and how they are supposed to work. What I can tell you is that afaik these options are not handled by our docker image. Whatever they do, they have to be handled elsewhere 👀

from mumble-docker.

Krzmbrzl avatar Krzmbrzl commented on August 31, 2024

Closing this as resolved

from mumble-docker.

Related Issues (20)

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.