Compare commits

..

2 Commits

Author SHA1 Message Date
nikolahrkac
9624155242 Merge branch 'main' of https://git.fpmoz.sum.ba/NikolaHrkac/priprema-za-kolokvij 2026-05-26 11:11:25 +02:00
nikolahrkac
45d6687c8f feat: v2 - dodan /info endpoint, update image tag 1.0 -> 2.0 2026-05-26 11:10:59 +02:00
2 changed files with 6 additions and 2 deletions

View File

@@ -20,3 +20,7 @@ def root():
@app.get("/health") @app.get("/health")
def health(): def health():
return {"status": "ok"} return {"status": "ok"}
@app.get("/info")
def info():
return {"servis": "priprema-za-kolokvij", "verzija": "2.0"}

View File

@@ -15,7 +15,7 @@ spec:
spec: spec:
containers: containers:
- name: priprema-za-kolokvij - name: priprema-za-kolokvij
image: git.fpmoz.sum.ba/nikolahrkac/priprema-za-kolokvij:1.0 image: git.fpmoz.sum.ba/nikolahrkac/priprema-za-kolokvij:2.0
ports: ports:
- containerPort: 8000 - containerPort: 8000
resources: resources: