Skip to content

New image does not read env variable ME_CONFIG_MONGODB_SERVERΒ #120

@roskee

Description

@roskee

The following docker run command (assuming there is a mongodb running on the same network with the name db) works with the 1.0.0-alpha image but does not work with new images including 1.0.0 and latest. I have run the command multiple times only switching the image tag. It only works with the older images. Is there a change in the way values are provided that is not added in the docker hub documentation?

docker run -it --rm \
    --network bp8fitness-backend_default \
    --name mongo-express \
    -p 8083:8081 \
    -e ME_CONFIG_OPTIONS_EDITORTHEME="ambiance" \
    -e ME_CONFIG_MONGODB_SERVER="db" \
    -e ME_CONFIG_BASICAUTH_USERNAME="user" \
    -e ME_CONFIG_BASICAUTH_PASSWORD="fairly long password" \
    mongo-express:1.0.0-alpha

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