Browse Source

Arregado lo de los static

politica
Celestino Rey 1 year ago
parent
commit
8f80ac4019
2 changed files with 4 additions and 5 deletions
  1. +4
    -4
      JugarAlPadel/K8S/jugaralpadel-deployment.yaml
  2. +0
    -1
      JugarAlPadel/gestion_reservas/gestion_reservas/urls.py

+ 4
- 4
JugarAlPadel/K8S/jugaralpadel-deployment.yaml View File

@ -102,15 +102,15 @@ spec:
- containerPort: 8000
protocol: TCP
volumeMounts:
- mountPath: /app/jugaralpadel/mediafiles
- mountPath: /app/gestion_reservas/mediafiles
name: jugaralpadel-media
- mountPath: /app/jugaralpadel/eventos/migrations
- mountPath: /app/gestion_reservas/eventos/migrations
name: jugaralpadel-eventos-migrations
- mountPath: /app/jugaralpadel/reymotausers/migrations
- mountPath: /app/gestion_reservas/reymotausers/migrations
name: jugaralpadel-reymotausers-migrations
- mountPath: /app/jugaralpadel/staticfiles
- mountPath: /app/gestion_reservas/staticfiles
name: static-volume
imagePullSecrets:
- name: myregistrykey


+ 0
- 1
JugarAlPadel/gestion_reservas/gestion_reservas/urls.py View File

@ -33,4 +33,3 @@ urlpatterns = [
name="principal"), # new
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)

Loading…
Cancel
Save