Compare commits
No commits in common. "e95a513350b07d41ff7ce88153c056760164eeb5" and "2fe64605788871dc53fc6908f551ec8489fff7ab" have entirely different histories.
e95a513350
...
2fe6460578
@ -16,28 +16,14 @@ spec:
|
|||||||
labels:
|
labels:
|
||||||
app: vanna-clubpetro
|
app: vanna-clubpetro
|
||||||
spec:
|
spec:
|
||||||
# A imagem roda como non-root (uid/gid 10001). fsGroup dá posse dos
|
|
||||||
# volumes (PVC) ao grupo 10001 pra que o processo consiga escrever no
|
|
||||||
# store/cache — sem isso o ChromaDB/CSV falha com Permission denied.
|
|
||||||
securityContext:
|
|
||||||
runAsNonRoot: true
|
|
||||||
runAsUser: 10001
|
|
||||||
runAsGroup: 10001
|
|
||||||
fsGroup: 10001
|
|
||||||
containers:
|
containers:
|
||||||
- name: vanna-clubpetro
|
- name: vanna-clubpetro
|
||||||
image: us-central1-docker.pkg.dev/corepetro/clubpetro-lab/vanna-clubpetro:lab-latest
|
image: us-central1-docker.pkg.dev/corepetro/clubpetro-lab/vanna-clubpetro:lab-latest
|
||||||
imagePullPolicy: IfNotPresent
|
imagePullPolicy: IfNotPresent
|
||||||
securityContext:
|
|
||||||
allowPrivilegeEscalation: false
|
|
||||||
capabilities:
|
|
||||||
drop: ["ALL"]
|
|
||||||
ports:
|
ports:
|
||||||
- name: http
|
- name: http
|
||||||
containerPort: 8765
|
containerPort: 8765
|
||||||
env:
|
env:
|
||||||
- name: HOME
|
|
||||||
value: /home/app
|
|
||||||
- name: VANNA_CORS_ORIGINS
|
- name: VANNA_CORS_ORIGINS
|
||||||
value: "https://lab.clubpetro.com,https://homologation.clubpetro.com"
|
value: "https://lab.clubpetro.com,https://homologation.clubpetro.com"
|
||||||
envFrom:
|
envFrom:
|
||||||
@ -71,7 +57,7 @@ spec:
|
|||||||
mountPath: /app/data_storage
|
mountPath: /app/data_storage
|
||||||
subPath: data_storage
|
subPath: data_storage
|
||||||
- name: data
|
- name: data
|
||||||
mountPath: /home/app/.cache/chroma
|
mountPath: /root/.cache/chroma
|
||||||
subPath: chroma-onnx-cache
|
subPath: chroma-onnx-cache
|
||||||
volumes:
|
volumes:
|
||||||
- name: data
|
- name: data
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user