From f5b2eaa4c230b98959a6a07f8d200f830ce2bd9f Mon Sep 17 00:00:00 2001 From: creylopez Date: Tue, 25 Feb 2025 15:35:54 +0000 Subject: [PATCH] Actualizar 'README.md' --- README.md | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index ce6a02c..804d548 100644 --- a/README.md +++ b/README.md @@ -20,18 +20,26 @@ Tal y como está la estructura de directorios, deberia detectar automáticamente ### Si la pvc no está creada oc set volume deployment.apps/riesgos --add -t pvc --claim-size=300M --name=riesgos-riesgos-migrations --claim-name='riesgos-riesgos-migrations' --mount-path='/app/riesgos/migrations' + oc set volume deployment.apps/riesgos --add -t pvc --claim-size=300M --name=riesgos-media --claim-name='riesgos-media' --mount-path='/app/mediafiles' + oc set volume deployment.apps/riesgos --add -t pvc --claim-size=300M --name=riesgos-gestion-migrations --claim-name='riesgos-gestion-migrations' --mount-path='/app/gestion/migrations' - oc set volume deployment.apps/riesgos --add -t pvc --claim-size=300M --name=riesgos-riesgosusers-migrations --claim-name='riesgos-riesgosusers-migrations' --mount-path='/app/riesgosusers/migrations' + + oc set volume deployment.apps/riesgos --add -t pvc --claim-size=300M --name=riesgos-usuarios-migrations --claim-name='riesgos-usuarios-migrations' --mount-path='/app/riesgos/migrations' + oc set volume deployment.apps/riesgos --add -t pvc --claim-size=50G --name=static-volume --claim-name='static-volume' --mount-path='/app/staticfiles' ### Si la pvc ya está creada oc set volume deployment.apps/riesgos --add -t pvc --name=riesgos-riesgos-migrations --claim-name='riesgos-riesgos-migrations' --mount-path='/app/riesgos/migrations' + oc set volume deployment.apps/riesgos --add -t pvc --name=riesgos-media --claim-name='riesgos-media' --mount-path='/app/mediafiles' + oc set volume deployment.apps/riesgos --add -t pvc --name=riesgos-gestion-migrations --claim-name='riesgos-gestion-migrations' --mount-path='/app/gestion/migrations' - oc set volume deployment.apps/riesgos --add -t pvc --name=riesgos-usuarios-migrations --claim-name='riesgos-riesgosusers-migrations' --mount-path='/app/usuarios/migrations' + + oc set volume deployment.apps/riesgos --add -t pvc --name=riesgos-usuarios-migrations --claim-name='riesgos-usuarios-migrations' --mount-path='/app/usuarios/migrations' + oc set volume deployment.apps/riesgos --add -t pvc --name=static-volume --claim-name='static-volume' --mount-path='/app/staticfiles' @@ -44,11 +52,6 @@ Se hace desde el yaml oc create -f postgresql-deployment.yaml - - - - - python manage.py createsuperuser