vibe/batch22-dockerfile-helm-chart
main
First step of k3s homelab deployment for dance-lessons-coach.
Adds the deployment scaffolding so the binary can be deployed to the ARCODANGE k3s homelab — pattern adapted from arcodange-org/webapp.
arcodange-org/webapp
swag init
go build ./cmd/server
dancecoachlessons.arcodange.lab
pi1
/api/healthz
DLC_LOGGING_*
DLC_DATABASE_*
DLC_API_V2_ENABLED
This first PR ships a "degraded mode" deployment :
Just serves the binary + swagger + healthz endpoints — enough to make https://dancecoachlessons.arcodange.lab/swagger/doc.json referenceable.
https://dancecoachlessons.arcodange.lab/swagger/doc.json
helm lint chart/ # ✓ 1 chart(s) linted, 0 chart(s) failed helm template chart/ --set image.repository=test --set image.tag=v1 # ✓ produces ServiceAccount + ConfigMap + Service + Deployment + Ingress
iac/
docker build
gitea.arcodange.lab/arcodange/dance-lessons-coach
tofu apply
dance-lessons-coach
config.yaml
Pattern adapted from arcodange-org/webapp. Degraded mode : no DB / no SMTP / no Vault yet, just serves the binary + swagger + healthz. Subsequent PRs will add Vault auth + Postgres dynamic credentials + SMTP config. Ingress route : dancecoachlessons.arcodange.lab (homelab internal).
No dependencies set.
The note is not visible to the blocked user.
Summary
First step of k3s homelab deployment for dance-lessons-coach.
Adds the deployment scaffolding so the binary can be deployed to the ARCODANGE k3s homelab — pattern adapted from
arcodange-org/webapp.What's in this PR
swag initthengo build ./cmd/server, exposes 8080dancecoachlessons.arcodange.labvia Traefik with crowdsec middlewarepi1(mirrors webapp pattern)/api/healthzfor liveness + readinessDLC_LOGGING_*,DLC_DATABASE_*,DLC_API_V2_ENABLEDvia configmap → envFromDegraded mode
This first PR ships a "degraded mode" deployment :
Just serves the binary + swagger + healthz endpoints — enough to make
https://dancecoachlessons.arcodange.lab/swagger/doc.jsonreferenceable.Verification
Follow-ups (separate PRs)
iac/for Vault config (kvv2 path + postgres role)docker build+ push togitea.arcodange.lab/arcodange/dance-lessons-coachtofu applyon iac/Notes
dance-lessons-coach(kebab-case, Helm convention)config.yamltemplate name to avoid confusion with viper config