From 3f5b0eb98fbd97e2d6442d40378026f3e43549af Mon Sep 17 00:00:00 2001 From: ianmuchyri Date: Tue, 12 Mar 2024 13:51:16 +0300 Subject: [PATCH] remove variable changes in postgres Signed-off-by: ianmuchyri --- docker/docker-compose.yml | 1 - internal/postgres/postgres.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 3c9a84506..f2ec6c62a 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -2,7 +2,6 @@ # SPDX-License-Identifier: Apache-2.0 version: "3.7" -name: magistrala networks: magistrala-base-net: diff --git a/internal/postgres/postgres.go b/internal/postgres/postgres.go index 928809a97..64143f341 100644 --- a/internal/postgres/postgres.go +++ b/internal/postgres/postgres.go @@ -22,7 +22,7 @@ var ( // Config defines the options that are used when connecting to the PostgresSQL instance. type Config struct { Host string `env:"MG_UI_DB_HOST" envDefault:"localhost"` - Port string `env:"MG_UI_DB_PORT" envDefault:"6007"` + Port string `env:"MG_UI_DB_PORT" envDefault:"5432"` User string `env:"MG_UI_DB_USER" envDefault:"magistrala-ui"` Pass string `env:"MG_UI_DB_PASS" envDefault:"magistrala-ui"` Name string `env:"MG_UI_DB_NAME" envDefault:"dashboards"`