This commit is contained in:
2023-08-12 18:17:40 +02:00
parent 30796fdb3e
commit e9ee733bd3
6 changed files with 114 additions and 107 deletions

View File

@@ -116,7 +116,7 @@ resource "kubectl_manifest" "zonemta_config" {
# Database configuration
# this file is loaded when NODE_ENV=production
# MongoDB connection string
mongo="mongodb://${var.component}:${local.mongo-password}@${var.instance}-${var.component}-mongo-svc.${var.namespace}.svc:27017/wildduck"
mongo="mongodb://${var.component}:${local.mongo-password}@${var.instance}-${var.component}-mongo-svc.${var.namespace}.svc:27017/zonemta"
# Redis connection string
redis="redis://${var.instance}-${var.component}-redis.${var.namespace}.svc:6379/2"
# Database name for ZoneMTA data in MongoDB. In most cases it should be the same as in the connection string