novi commit

This commit is contained in:
2026-05-05 11:02:52 +02:00
parent 413819498b
commit 8bc97473cc
5 changed files with 20 additions and 0 deletions

7
configmap.yaml Normal file
View File

@@ -0,0 +1,7 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: pozdrav-app-config
data:
KLJUC1: "vr"
KLJUC2: "vr2"

BIN
deployment.yaml Normal file

Binary file not shown.

11
dockerfile Normal file
View File

@@ -0,0 +1,11 @@
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 7000
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "7000"]

2
requirements.txt Normal file
View File

@@ -0,0 +1,2 @@
fastapi==0.135.2
uvicorn[standard]==0.29.0

BIN
service.yaml Normal file

Binary file not shown.