Add K8s deployment files, restructure to backend/frontend
This commit is contained in:
10
k8s/configmap.yaml
Normal file
10
k8s/configmap.yaml
Normal 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"
|
||||
Reference in New Issue
Block a user