Browse Source

Pongo credenciales de cloudnativepg

main
Celestino Rey 9 months ago
parent
commit
253c0c9816
2 changed files with 4 additions and 4 deletions
  1. +1
    -1
      src/config/entrypoint.sh
  2. +3
    -3
      src/reymota/settings.py

+ 1
- 1
src/config/entrypoint.sh View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
RUN_PORT="8000" RUN_PORT="8000"
DATABASE=postgres DATABASE=postgres
SQL_HOST=postgresql
SQL_HOST=cluster-pg-rw.cloudnativepg
SQL_PORT=5432 SQL_PORT=5432
if [ "$DATABASE" = "postgres" ] if [ "$DATABASE" = "postgres" ]


+ 3
- 3
src/reymota/settings.py View File

@ -85,9 +85,9 @@ DATABASES = {
"default": { "default": {
"ENGINE": "django.db.backends.postgresql", "ENGINE": "django.db.backends.postgresql",
"NAME": "reymota", "NAME": "reymota",
"USER": "creylopez",
"PASSWORD": "Dsa-0213",
"HOST": "postgresql",
"USER": "app",
"PASSWORD": "wiR4vARfHADTPSaGqeyfRpAH4OuVyB428zGPsQ8rfzndfz2yt9X0hR3yWmwPFIHd",
"HOST": "cluster-pg-rw.cloudnativepg",
"PORT": "5432", "PORT": "5432",
} }
} }


Loading…
Cancel
Save