diff --git a/cmd/journal/main.go b/cmd/journal/main.go index 3e05b96c18..b98f0b9cd3 100644 --- a/cmd/journal/main.go +++ b/cmd/journal/main.go @@ -37,7 +37,7 @@ import ( const ( svcName = "journal" - envPrefixDB = "MG_JOURNAL_" + envPrefixDB = "MG_JOURNAL_DB_" envPrefixHTTP = "MG_JOURNAL_HTTP_" envPrefixAuth = "MG_AUTH_GRPC_" defDB = "journal" diff --git a/docker/.env b/docker/.env index f39e9f8da4..6eac7614ff 100644 --- a/docker/.env +++ b/docker/.env @@ -451,15 +451,15 @@ MG_JOURNAL_HTTP_HOST=journal MG_JOURNAL_HTTP_PORT=9021 MG_JOURNAL_HTTP_SERVER_CERT= MG_JOURNAL_HTTP_SERVER_KEY= -MG_JOURNAL_HOST=magistrala-journal-db -MG_JOURNAL_PORT=5432 -MG_JOURNAL_USER=magistrala -MG_JOURNAL_PASS=magistrala -MG_JOURNAL_NAME=journal -MG_JOURNAL_SSL_MODE=disable -MG_JOURNAL_SSL_CERT= -MG_JOURNAL_SSL_KEY= -MG_JOURNAL_SSL_ROOT_CERT= +MG_JOURNAL_DB_HOST=magistrala-journal-db +MG_JOURNAL_DB_PORT=5432 +MG_JOURNAL_DB_USER=magistrala +MG_JOURNAL_DB_PASS=magistrala +MG_JOURNAL_DB_NAME=journal +MG_JOURNAL_DB_SSL_MODE=disable +MG_JOURNAL_DB_SSL_CERT= +MG_JOURNAL_DB_SSL_KEY= +MG_JOURNAL_DB_SSL_ROOT_CERT= MG_JOURNAL_INSTANCE_ID= ### GRAFANA and PROMETHEUS