Преглед изворни кода

Pongo credenciales de cloudnativepg

Celestino Rey пре 1 година
родитељ
комит
253c0c9816
2 измењених фајлова са 4 додато и 4 уклоњено
  1. 1 1
      src/config/entrypoint.sh
  2. 3 3
      src/reymota/settings.py

+ 1 - 1
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" ]

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