From 8bc97473cccbb820004d351c372bc4a3eae09def Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petra=20=C4=8Camber?= Date: Tue, 5 May 2026 11:02:52 +0200 Subject: [PATCH] novi commit --- configmap.yaml | 7 +++++++ deployment.yaml | Bin 0 -> 860 bytes dockerfile | 11 +++++++++++ requirements.txt | 2 ++ service.yaml | Bin 0 -> 600 bytes 5 files changed, 20 insertions(+) create mode 100644 configmap.yaml create mode 100644 deployment.yaml create mode 100644 dockerfile create mode 100644 requirements.txt create mode 100644 service.yaml diff --git a/configmap.yaml b/configmap.yaml new file mode 100644 index 0000000..b966a99 --- /dev/null +++ b/configmap.yaml @@ -0,0 +1,7 @@ +apiVersion: v1 +kind: ConfigMap +metadata: +name: pozdrav-app-config +data: +KLJUC1: "vr" +KLJUC2: "vr2" diff --git a/deployment.yaml b/deployment.yaml new file mode 100644 index 0000000000000000000000000000000000000000..1b7a2dbc2688a76e06c9f9fe404174eb5f65a1d3 GIT binary patch literal 860 zcma)4+e*Vw5S(Yhe>gu7yu1i~lUgNUwbUZ`SbH;=q~YWc(2rMVHrT}2KnQ8JyR);i zm+!A73M6>O1|B7?J#viTAb&y687f@h6eoCRG{@SaH^di6iT*%FJ4Y~#?7-YLUwudB zb>z$WPf>9f%=;w9(^nzluWGpiHl^p4*p&4f2C>x0Asn9hQkY=HEb%y89x9Z^zF{m- zi|SK0luQnY^tLn_y^ELm4QHZ@naUu{Oatasi- zBi3#2X?Ao^zxt&kVHZp6tS^T-Cb&b4CoE{c@OENM>5J@p&Dexm7Le6u(LH!hr@L+G z`L9^2gw{r{aBfeVP1jiAmY6-&HQh;X!?>mP9o6Zg=G4FKAcfZRcOJTKUG11}W;g1| SImRO%STSZ_Q+7AA?tTCz#eRAK literal 0 HcmV?d00001 diff --git a/dockerfile b/dockerfile new file mode 100644 index 0000000..5719f1e --- /dev/null +++ b/dockerfile @@ -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"] \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..3516f3d --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +fastapi==0.135.2 +uvicorn[standard]==0.29.0 \ No newline at end of file diff --git a/service.yaml b/service.yaml new file mode 100644 index 0000000000000000000000000000000000000000..46b33a218e0a689feef84c0e7489611753688a45 GIT binary patch literal 600 zcmb7C%L>9U5S+8%KllTJo)nLI@+Mfk*IGo3QPNmY@z>Rvt))fuAR&+L?mV*T^O53& z9ahK@Q1Enw#{@l;7@~^~_KbOKEVi_&l97xjWe?mVQsz_JCl>7ypOG)OXvLWjrRu`! z4pfzj#~F@8TtYb_)~s@@Yq*q=&kD1k$14>BVAb;e{IGwpmFr&jZi#i#wrL$<>YdB>!Rz vty}!lsfdepK?*Z^I@{amKbXILRc{q7({##FQ!hT{s`v8rA(VJ-xZ90hYkFFK literal 0 HcmV?d00001