Database
Notify uses a MongoDB as their database. For this you need to configure your MongoDB credentials as your environment. You can add a .env-file or you also can add the environment variables directly into the environment.
./configs/config.yaml
database:
mongo:
authMechanism: SCRAM-SHA-256 # optional
srv: true # optional
tls: true # is only required when your DB use TLS.
MONGO_PORT
is optional, if your MongoDb host don’t need a port, you can remove this attribute.
.env
MONGO_HOST=localhost
MONGO_PORT=27017
MONGO_DATABASE_NAME=notify
MONGO_USERNAME=admin
MONGO_PASSWORD=admin!password