This commit is contained in:
parent
a12a9b8200
commit
b6becfdfb8
@ -20,11 +20,15 @@ spec:
|
|||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: static-storage
|
- name: static-storage
|
||||||
mountPath: /usr/scr/app/staticfiles # Ścieżka, gdzie Django oczekuje plików statycznych
|
mountPath: /usr/scr/app/staticfiles # Ścieżka, gdzie Django oczekuje plików statycznych
|
||||||
|
- name: static-media
|
||||||
|
mountPath: /usr/scr/app/media
|
||||||
volumes:
|
volumes:
|
||||||
- name: static-storage
|
- name: static-storage
|
||||||
persistentVolumeClaim:
|
persistentVolumeClaim:
|
||||||
claimName: static-pvc
|
claimName: static-pvc
|
||||||
|
- name: static-media
|
||||||
|
persistentVolumeClaim:
|
||||||
|
claimName: media-pvc
|
||||||
---
|
---
|
||||||
apiVersion: v1
|
apiVersion: v1
|
||||||
kind: Service
|
kind: Service
|
||||||
|
|||||||
@ -37,7 +37,7 @@ class JobListing(models.Model):
|
|||||||
status_paid = models.CharField(max_length=1, choices=paid_status, default='N')
|
status_paid = models.CharField(max_length=1, choices=paid_status, default='N')
|
||||||
# category = models.CharField(max_length=255, null=True, blank=True)
|
# category = models.CharField(max_length=255, null=True, blank=True)
|
||||||
expiration_date = models.DateField(null=True, blank=True)
|
expiration_date = models.DateField(null=True, blank=True)
|
||||||
# company_logo = models.ImageField(upload_to='company_logos/', null=True, blank=True)
|
company_logo = models.ImageField(upload_to='company_logos/')
|
||||||
experience_level = models.CharField(max_length=255, null=True, blank=True)
|
experience_level = models.CharField(max_length=255, null=True, blank=True)
|
||||||
employmentType = models.CharField(max_length=255, null=True, blank=True)
|
employmentType = models.CharField(max_length=255, null=True, blank=True)
|
||||||
workFromHome = models.CharField(max_length=255)
|
workFromHome = models.CharField(max_length=255)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user