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