Add web SVG generator, container, and Kubernetes manifests

- Flask app (web/) generates M1730 scale SVGs from a form; embeds
  GOST typ A font as base64 so output is self-contained
- Dockerfile builds the app into git.baumann.gr/adebaumann/m1730-generator
- k8s/ deploys as a ClusterIP service for NPM to proxy at
  works.adebaumann.com/M1730-generator/

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-07-12 00:29:55 +02:00
parent 10d25462be
commit 9e7223a1f5
13 changed files with 1193 additions and 0 deletions
+28
View File
@@ -0,0 +1,28 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: m1730-generator
namespace: default
spec:
replicas: 1
selector:
matchLabels:
app: m1730-generator
template:
metadata:
labels:
app: m1730-generator
spec:
containers:
- name: m1730-generator
image: git.baumann.gr/adebaumann/m1730-generator:0.1
imagePullPolicy: Always
ports:
- containerPort: 5000
resources:
requests:
memory: "64Mi"
cpu: "50m"
limits:
memory: "256Mi"
cpu: "200m"
+12
View File
@@ -0,0 +1,12 @@
apiVersion: v1
kind: Service
metadata:
name: m1730-generator
namespace: default
spec:
selector:
app: m1730-generator
ports:
- port: 80
targetPort: 5000
type: ClusterIP