From 253c0c9816996f8838b59193e3cd88a08a4a196e Mon Sep 17 00:00:00 2001 From: Celestino Rey Date: Tue, 11 Feb 2025 11:35:07 +0100 Subject: [PATCH] Pongo credenciales de cloudnativepg --- src/config/entrypoint.sh | 2 +- src/reymota/settings.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/config/entrypoint.sh b/src/config/entrypoint.sh index eaf2e6e..8d18228 100644 --- a/src/config/entrypoint.sh +++ b/src/config/entrypoint.sh @@ -1,7 +1,7 @@ #!/bin/bash RUN_PORT="8000" DATABASE=postgres -SQL_HOST=postgresql +SQL_HOST=cluster-pg-rw.cloudnativepg SQL_PORT=5432 if [ "$DATABASE" = "postgres" ] diff --git a/src/reymota/settings.py b/src/reymota/settings.py index 053346d..9e4af2d 100644 --- a/src/reymota/settings.py +++ b/src/reymota/settings.py @@ -85,9 +85,9 @@ DATABASES = { "default": { "ENGINE": "django.db.backends.postgresql", "NAME": "reymota", - "USER": "creylopez", - "PASSWORD": "Dsa-0213", - "HOST": "postgresql", + "USER": "app", + "PASSWORD": "wiR4vARfHADTPSaGqeyfRpAH4OuVyB428zGPsQ8rfzndfz2yt9X0hR3yWmwPFIHd", + "HOST": "cluster-pg-rw.cloudnativepg", "PORT": "5432", } }