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", } }