Resolve "Access with credentials to DB"

This merge request has necessary changes to securely access the MongoDB database with credentials.

Merge request reports

Loading
+3
Changes for services/docker-compose-capif.yml: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -220,6 +220,9 @@ services:
    ports:
      - 8082:8081
    environment:
      ME_CONFIG_MONGODB_ENABLE_ADMIN: true
      ME_CONFIG_BASICAUTH_USERNAME: admin
      ME_CONFIG_BASICAUTH_PASSWORD: admin
      ME_CONFIG_MONGODB_ADMINUSERNAME: root
      ME_CONFIG_MONGODB_ADMINPASSWORD: example
      ME_CONFIG_MONGODB_URL: mongodb://root:example@mongo:27017/
+3
Changes for services/docker-compose-register.yml: 3 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -36,6 +36,9 @@ services:
    ports:
      - 8083:8081
    environment:
      ME_CONFIG_MONGODB_ENABLE_ADMIN: true
      ME_CONFIG_BASICAUTH_USERNAME: admin
      ME_CONFIG_BASICAUTH_PASSWORD: admin
      ME_CONFIG_MONGODB_ADMINUSERNAME: root
      ME_CONFIG_MONGODB_ADMINPASSWORD: example
      ME_CONFIG_MONGODB_URL: mongodb://root:example@mongo_register:27017/
Loading