k8s
This commit is contained in:
35
04-backend-configmap.yaml
Normal file
35
04-backend-configmap.yaml
Normal file
@@ -0,0 +1,35 @@
|
||||
# Backend ConfigMap — non-sensitive configuration
|
||||
#
|
||||
# BEFORE APPLYING:
|
||||
# Replace <NODE_IP> with the actual IP of any node in your cluster.
|
||||
# Run: kubectl get nodes -o wide to find the IP.
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: backend-config
|
||||
namespace: ecommerce
|
||||
data:
|
||||
NODE_ENV: "production"
|
||||
PORT: "3000"
|
||||
HOST: "0.0.0.0"
|
||||
|
||||
JWT_EXPIRES_IN: "7d"
|
||||
JWT_REFRESH_EXPIRES_IN: "30d"
|
||||
|
||||
# AWS S3 / MinIO
|
||||
AWS_REGION: "us-east-1"
|
||||
AWS_S3_BUCKET: "e-commerce"
|
||||
AWS_ENDPOINT: "s3.sahasrarameta.tech"
|
||||
AWS_PORT: "443"
|
||||
AWS_SSL: "true"
|
||||
|
||||
# Paytm
|
||||
PAYTM_WEBSITE: "WEBSTAGING"
|
||||
PAYTM_CHANNEL_ID: "WEB"
|
||||
PAYTM_INDUSTRY_TYPE: "Retail"
|
||||
PAYTM_HOST: "securegw-stage.paytm.in"
|
||||
|
||||
# Frontend origin — replace <NODE_IP> with your cluster node's IP
|
||||
FRONTEND_URL: "http://<NODE_IP>:30800"
|
||||
CORS_ORIGIN: "http://<NODE_IP>:30800"
|
||||
Reference in New Issue
Block a user