portal-api: multipart message attachments with magic-byte sniffing, owner-checked
GET /api/portal/attachments/{id}; measured_by/application logging with
logged_by_role. site: crew self-logging forms, Specialist/Crew badges, photo
picker + lazy inline thumbnails.
46 lines
1.1 KiB
YAML
46 lines
1.1 KiB
YAML
apiVersion: apps/v1
|
|
kind: Deployment
|
|
metadata:
|
|
name: sirius-growth-site
|
|
namespace: sirius-growth
|
|
spec:
|
|
replicas: 1
|
|
selector:
|
|
matchLabels:
|
|
app: sirius-growth-site
|
|
template:
|
|
metadata:
|
|
labels:
|
|
app: sirius-growth-site
|
|
spec:
|
|
tolerations:
|
|
- key: dedicated
|
|
operator: Exists
|
|
effect: PreferNoSchedule
|
|
nodeSelector:
|
|
kubernetes.io/hostname: siriussec
|
|
containers:
|
|
- name: nginx
|
|
image: forgejo.siriusdevops.com/sirius/sirius-growth-site:a72ea75eed71202e18fed84e1c669c2dd808aa25
|
|
imagePullPolicy: IfNotPresent
|
|
ports:
|
|
- containerPort: 80
|
|
name: http
|
|
readinessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 80
|
|
initialDelaySeconds: 5
|
|
periodSeconds: 10
|
|
livenessProbe:
|
|
httpGet:
|
|
path: /
|
|
port: 80
|
|
initialDelaySeconds: 15
|
|
periodSeconds: 20
|
|
resources:
|
|
requests:
|
|
cpu: 25m
|
|
memory: 48Mi
|
|
limits:
|
|
memory: 192Mi
|