Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The docker-compose.yaml which you downloaded requires some environmental variables to function .

...

All conatiners marked in RED are mandatory, rest are optional and needed only if respective tools are in use.

MongoDB service

  • MONGODBMONGO_INITDB_ADMINROOT_USERUSERNAME=<DB ROOT USER> (Line: 14, used for DDL comands within the application.)

  • MONGODBMONGO_INITDB_ADMINROOT_PASSPASSWORD=<DB ROOT PASSWORD>(Line: 15, password for admin user)

  • MONGODB_APPLICATION_USER=<DB APPLICATION USER>(Line: 16, this is the user used by all container interacting with database)

  • MONGODB_APPLICATION_PASS=<DB APPLICATION PASSWORD>( Line: 17, password for application user)

CustomAPI

  • forgotPassword.uiHost=<DNS / IP> (Line: 41, DNS and/or IP of the installation server)

...

  • versionnumber=<Current version released> (Line: 43, leave current value if you prefer latest version)

  • spring.data.mongodb.username=<DB APPLICATION ROOT USER> (Line: 45, same as defined in MongoDB config)

  • spring.data.mongodb.password=<DB APPLICATION ROOT PASSWORD>(Line: 46 , same as defined in MongoDB config)

  • aesEncryptionKey=<aesEncryptionKey>(Line: 47, this is the passphrase for generating AES key, this cant be changed during lifetime of application)
    (min lenght - 8, sample value - 7DLHllMii14pId0FSSwGWwtga5dckGHW)

  • auth.secret=<auth secret>(Line: 48, this the passphrase used to generate sign jwt token)
    (min length -4, sample value - C0GNAIDS8upDNnkE)

...

  • spring.data.mongodb.username=<DB APPLICATION ROOT USER>(Line: 118, same as defined in MongoDB config)

  • spring.data.mongodb.password=<DB APPLICATION ROOT PASSWORD>(Line: 119, same as defined in MongoDB config)

  • aesEncryptionKey=<aesEncryptionKey>(Line: 120, same Key as defined in CustomAPI)

...

  • spring.data.mongodb.username=<DB APPLICATION ROOT USER>(Line: 165, same as defined in MongoDB config)

  • spring.data.mongodb.password=<DB APPLICATION ROOT PASSWORD>(Line:166, same as defined in MongoDB config)

  • aesEncryptionKey=<aesEncryptionKey>(Line:166, same Key as defined in CustomAPI)

...