Skip to content

Commit

Permalink
NOISSUE - Rename db prefix for Journal DB env (#2368)
Browse files Browse the repository at this point in the history
Signed-off-by: Rodney Osodo <[email protected]>
  • Loading branch information
rodneyosodo authored Aug 1, 2024
1 parent 38386a3 commit 0306536
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion cmd/journal/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
18 changes: 9 additions & 9 deletions docker/.env
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0306536

Please sign in to comment.