Commits
2026-09-17
2026-09-15
refactor: 🔧 name the stack after the repo and fix the backend host - every runtime name follows the repo: image hezarfen_rule_based_chatbot, container_name, the systemd unit hezarfen_rule_based_chatbot_compose, the operator file hezarfen_rule_based_chatbot.env, the deploy dir and the release artifact - AI_BRIDGE_HOST/AI_BACKEND_URL now use hezarfen_backend: the hyphenated name does not resolve on the shared podman network (proved inside the container: getaddrinfo("hezarfen-backend") fails, hezarfen_backend and backend both point at 10.89.0.4) - AI_BACKEND_URL points at the backend's real port 7656 instead of 8080Ahmet Kaan Gümüş · 2ddc9e8
refactor: 🔧 name the stack after the repo and fix the backend host
- every runtime name follows the repo: image hezarfen_rule_based_chatbot,
container_name, the systemd unit hezarfen_rule_based_chatbot_compose, the
operator file hezarfen_rule_based_chatbot.env, the deploy dir and the
release artifact
- AI_BRIDGE_HOST/AI_BACKEND_URL now use hezarfen_backend: the hyphenated
name does not resolve on the shared podman network (proved inside the
container: getaddrinfo("hezarfen-backend") fails, hezarfen_backend and
backend both point at 10.89.0.4)
- AI_BACKEND_URL points at the backend's real port 7656 instead of 8080chore: 🔧 compose stack, hab/2 protocol and VPS deploy workflow - compose.yaml: env-file driven single service that joins the backend's podman network and dials QUIC 8090; no ports, no environment block, so nothing can shadow the operator's hezarfen_chatbot.env - Containerfile is the single source of the deployment defaults (AI_* ENV block) and now CMDs the bridge; AI_BACKEND_URL points at the backend's own port 7656 instead of the stale 8080 - bridge.py speaks hab/2: the backend pins AI_PROTOCOL/AI_ALPN to hab/2 and rejects any other hello, so the bridge could never register - deploy/: operator env example + systemd user unit (compose up --no-build with both --env-file arguments) - .github/workflows/main.yml: validate ∥ build-and-test (unittest suite, Composefile image, release artifact) then an SSH deploy that rotates HEZARFEN_TAG in a deploy-owned stack.env, installs the unit, restarts and gates on the backend accepting the registration, rolling back on failureAhmet Kaan Gümüş · e013725
chore: 🔧 compose stack, hab/2 protocol and VPS deploy workflow - compose.yaml: env-file driven single service that joins the backend's podman network and dials QUIC 8090; no ports, no environment block, so nothing can shadow the operator's hezarfen_chatbot.env - Containerfile is the single source of the deployment defaults (AI_* ENV block) and now CMDs the bridge; AI_BACKEND_URL points at the backend's own port 7656 instead of the stale 8080 - bridge.py speaks hab/2: the backend pins AI_PROTOCOL/AI_ALPN to hab/2 and rejects any other hello, so the bridge could never register - deploy/: operator env example + systemd user unit (compose up --no-build with both --env-file arguments) - .github/workflows/main.yml: validate ∥ build-and-test (unittest suite, Composefile image, release artifact) then an SSH deploy that rotates HEZARFEN_TAG in a deploy-owned stack.env, installs the unit, restarts and gates on the backend accepting the registration, rolling back on failure
2026-08-23
fix(compose): standalone 'web' (:8000, tek başına) + 'bridge' (profile product, backend ağı) — proje-bazlı, kök compose gerekmezKadir Yönak · b0ec9e2Browse files
fix(compose): standalone chatbot 'up' artık dev web UI çalıştırır (exit değil)Kadir Yönak · 3d8485c
fix(compose): standalone chatbot 'up' artık dev web UI çalıştırır (exit değil)
Sorun: 'podman compose up' chatbot reposunda container'ı 'python -m src.main --validate'
ile başlatıyordu -> katalog doğrulanıp exit 0 ile çıkıyordu ('sürekli exit'). Bu bir
podman hatası değil; --validate tek-seferlik komut.
Çözüm: command -> 'python -m src.web --host 0.0.0.0 --port 8000' (uzun-çalışan dev
sohbet arayüzü) + port 8000:8000 + healthcheck + restart. Artık 'up' deyince
http://localhost:8000 açık kalır. Tam ürün için kök compose (README/başlık notu).2026-08-14
chore(podman): chatbot'u tam Containerfile/podman konfigürasyonuna geçirKadir Yönak · 598b86b
chore(podman): chatbot'u tam Containerfile/podman konfigürasyonuna geçir Front/back ile aynı Podman konvansiyonuna hizalandı (artık aktif feature line'da, hack değil): - Dockerfile -> Containerfile, .dockerignore -> .containerignore (git mv). - compose.yaml: dockerfile: Containerfile, image localhost/ önekiyle. - ReadMe.md: "# Docker / docker compose" -> "# Podman / podman compose". - Containerfile yorumu: "Docker katman önbelleği" -> "konteyner katman önbelleği". Davranış/kod aynı; yalnız container konfigürasyonu. Stack podman'da bu Containerfile ile ayağa kalkıyor.