MongoDB and Trudesk authentication setup

I would like to know how, if possible, to implement mongodb authentication with Trudesk?

For instance, i was thinking something along the line of this docker-composer.yml

version: '3'
services:
  trudesk:
    image: polonel/trudesk:latest
    container_name: trudesk_trudesk
    restart: unless-stopped
    ports:
      - "8118:8118"
    volumes:
      - "./data/trudesk/uploads:/usr/src/trudesk/public/uploads"
      - "./data/trudesk/plugins:/usr/src/trudesk/plugins"
      - "./data/trudesk/backups:/usr/src/trudesk/backups"
    environment:
      NODE_ENV: production
      TRUDESK_DOCKER: "true"
      TD_MONGODB_SERVER: mongo
      TD_MONGODB_DATABASE: trudesk
  mongo:
    image: mongo:latest
    container_name: trudesk_mongodb
    restart: unless-stopped
#    environment:
#      MONGO_INITDB_ROOT_USERNAME: admin
#      MONGO_INITDB_ROOT_PASSWORD: e009b0c64bb2a8c5f5f1aad15dc303bb
#    command: mongod --auth
    ports:
      - "27017:27017"
    volumes:
      - "./data/db:/data/db"
      - "./data/configdb:/data/configdb"

But any ideas would be appreciated.

Sure, just add these environment variables to the trudesk container:

thanks, i’ll give a shot.