From dd5f7d9b8fc8455c0247fe284203c003763898b7 Mon Sep 17 00:00:00 2001 From: kemboi22 Date: Thu, 15 Aug 2024 01:09:06 +0300 Subject: [PATCH] feat: updated app.env with correct db url --- imageroot/actions/configure-module/10configure_environment_vars | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imageroot/actions/configure-module/10configure_environment_vars b/imageroot/actions/configure-module/10configure_environment_vars index bbb3b9f..a89a804 100755 --- a/imageroot/actions/configure-module/10configure_environment_vars +++ b/imageroot/actions/configure-module/10configure_environment_vars @@ -38,7 +38,7 @@ agent.write_envfile("database.env", db) HOST = data.get('host') REDIS_SERVER_HOST= data.get("REDIS_SERVER_HOST", "redis-app") DATABASE_URL= data.get("DATABASE_URL", "postgres://affine:affine@postgres:5432/affine") -POSTGRES_URL = f"postgres://{POSTGRES_USER}:{POSTGRES_PASSWORD}@postgres:5432/{POSTGRES_DB}" +POSTGRES_URL = f"postgres://{POSTGRES_USER}:{POSTGRES_PASSWORD}@postgresql-app:5432/{POSTGRES_DB}" NODE_ENV= data.get("NODE_ENV", "production") AFFINE_ADMIN_EMAIL= data.get("AFFINE_ADMIN_EMAIL", "admin") AFFINE_ADMIN_PASSWORD= data.get("AFFINE_ADMIN_PASSWORD", "admin1234")