Skip to content

[bug?] MONGOKU_DEFAULT_HOST - Not able to set it correctly #59

Description

@avico78

configuring the Mongo DB via MogoKU GUI:
clicking on "Add server" > "admin:admin@mongo_db:27017" -> connection set .

it doesn't work using the variable MONGOKU_DEFAULT_HOST in docker-compose .

docker-compose:

  mongo_gui:
    image: huggingface/mongoku
    container_name: mongo_gui
    ports:
      - "${MONGOGUI_PORT:-3100}:3100"
    networks:
      - dockers_default
    depends_on:
        - mongo_db
    environment:
      - MONGOKU_DEFAULT_HOST="mongodb://admin:admin@mongo_db:27017"

Tried also:
MONGOKU_DEFAULT_HOST="mongo_db://admin:admin@mongo_db:27017"
MONGOKU_DEFAULT_HOST="mongodb://admin:admin@localhost:27017"
MONGOKU_DEFAULT_HOST="admin:admin@mongo_db:27017"

It doesn't connect and there's an error "unescaped slash in user info section "

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions