Add K8s deployment files, restructure to backend/frontend

This commit is contained in:
Agent
2026-03-20 05:12:22 +00:00
parent cea86e48a7
commit f70ba958c7
8 changed files with 371 additions and 0 deletions

10
k8s/configmap.yaml Normal file
View File

@@ -0,0 +1,10 @@
apiVersion: v1
kind: ConfigMap
metadata:
name: todo-config
data:
DATABASE_URL: "jdbc:postgresql://todo-postgres:5432/building_materials"
DATABASE_USERNAME: "postgres"
REDIS_HOST: "todo-redis"
REDIS_PORT: "6379"
API_BASE_URL: "http://todo-backend:8080"