# Mongo Express

The stack configuration for the previously used **mongoadmin** container needs to be updated due to the switch to the more modern alternative **mongo-express**.

Please copy the YAML lines below and adjust them if your environment uses different parameters (e.g. environment variables or credentials).

```yaml
mongoadmin:
    image: repo.moovit24.de:443/mcc_mongoexpress:4.12.0.0
    restart: always
    deploy:
      mode: replicated
      replicas: 1
      resources:
        limits:
          memory: 250M
    environment:
      ME_CONFIG_MONGODB_URL: "mongodb://root:bitte@mongodb:27017/admin?authSource=admin"
      # Credentials for web access
      ME_CONFIG_BASICAUTH_USERNAME: admin
      ME_CONFIG_BASICAUTH_PASSWORD: pass
      ME_CONFIG_SITE_BASEURL: "/mongodb"
    volumes:
      - /etc/localtime:/etc/localtime:ro
    networks:
      - mcc
    depends_on:
      - mongodb

```

{% hint style="info" %}

#### Cluster environments

If you are running Helmut4 in a clustered setup, the MongoDB service reference must be adjusted to use **`mongodb1`**.

Update the container configuration as shown below:

```yaml
environment:
      ME_CONFIG_MONGODB_URL: "mongodb://root:bitte@mongodb1:27017/admin?authSource=admin"

depends_on:
      - mongodb1
```

{% endhint %}

We also recommend reviewing the section “[Limit Docker Container RAM Usage](/helmut4-releases/getting-started/additional-configurations/container-adjustments/limit-docker-container-ram-usage.md)” to verify that the configured memory limits are still appropriate for your system.

## Accessing MongoDB data

The MongoDB can be accessed via the Mongo Express web interface at:

`http://<server-url>/mongodb`

Within Mongo Express you can browse databases and collections, inspect documents, and perform basic administrative tasks such as verifying data, checking indices, or troubleshooting project and asset entries.

Replace `<server-url>` with the hostname or IP address of your Helmut4 server.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.helmut.de/helmut4-releases/getting-started/additional-configurations/mongodb/mongo-express.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
