|
|
@ -12,17 +12,17 @@ Crear un proyecto. |
|
|
|
|
|
|
|
|
A continuación añadir una app desde Agregar, importar desde git. |
|
|
A continuación añadir una app desde Agregar, importar desde git. |
|
|
|
|
|
|
|
|
oc new-app https://gogs.reymota.es/creylopez/TrainersAppDj.git -e DEBUG="False" --name='trainersapp' |
|
|
|
|
|
|
|
|
oc new-app https://gitea.reymota.es/creylopez/TrainersAppDj.git -e DEBUG="False" --name='entrenadores' |
|
|
|
|
|
|
|
|
Tal y como está la estructura de directorios, deberia detectar automáticamente una compilación Python |
|
|
Tal y como está la estructura de directorios, deberia detectar automáticamente una compilación Python |
|
|
|
|
|
|
|
|
## asignación de los volúmenes |
|
|
## asignación de los volúmenes |
|
|
### Si la pvc no está creada |
|
|
### Si la pvc no está creada |
|
|
|
|
|
|
|
|
oc set volume deployment.apps/reymota --add -t pvc --claim-size=300M --name=reymota-lyrics-migrations --claim-name='reymota-lyrics-migrations' --mount-path='/app/lyrics/migrations' |
|
|
|
|
|
oc set volume deployment.apps/reymota --add -t pvc --claim-size=300M --name=reymota-media --claim-name='reymota-media' --mount-path='/app/mediafiles' |
|
|
|
|
|
oc set volume deployment.apps/reymota --add -t pvc --claim-size=300M --name=reymota-repostajes-migrations --claim-name='reymota-repostajes-migrations' --mount-path='/app/repostajes/migrations' |
|
|
|
|
|
oc set volume deployment.apps/reymota --add -t pvc --claim-size=300M --name=reymota-reymotausers-migrations --claim-name='reymota-reymotausers-migrations' --mount-path='/app/reymotausers/migrations' |
|
|
|
|
|
|
|
|
oc set volume deployment.apps/entrenadores --add -t pvc --claim-size=300M --name=entrenadores-lyrics-migrations --claim-name='entrenadores-lyrics-migrations' --mount-path='/app/lyrics/migrations' |
|
|
|
|
|
oc set volume deployment.apps/entrenadores --add -t pvc --claim-size=300M --name=entrenadores-media --claim-name='entrenadores-media' --mount-path='/app/mediafiles' |
|
|
|
|
|
oc set volume deployment.apps/entrenadores --add -t pvc --claim-size=300M --name=entrenadores-repostajes-migrations --claim-name='entrenadores-repostajes-migrations' --mount-path='/app/repostajes/migrations' |
|
|
|
|
|
oc set volume deployment.apps/entrenadores --add -t pvc --claim-size=300M --name=entrenadores-usuariosusers-migrations --claim-name='entrenadores-usuariosusers-migrations' --mount-path='/app/reymotausers/migrations' |
|
|
oc set volume deployment.apps/reymota --add -t pvc --claim-size=50G --name=static-volume --claim-name='static-volume' --mount-path='/app/staticfiles' |
|
|
oc set volume deployment.apps/reymota --add -t pvc --claim-size=50G --name=static-volume --claim-name='static-volume' --mount-path='/app/staticfiles' |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|