Compare commits

...

2 Commits

Author SHA1 Message Date
Deep Koluguri 18649c50a7 new updates
Build Curio HMS / build-and-deploy (push) Successful in 44s Details
2026-05-14 08:44:35 -04:00
Deep Koluguri b8c8735a80 apisix chanbgfes 2026-05-14 08:43:54 -04:00
3 changed files with 26 additions and 19 deletions

View File

@ -1,16 +1,19 @@
apiVersion: apisix.apache.org/v2
kind: ApisixRoute
metadata:
name: Curio-route
namespace: Curio
name: curio-route
namespace: curio
annotations:
kubernetes.io/ingress.class: apisix
spec:
http:
- name: Curio-rule
- name: curio-rule
match:
hosts:
- Curio.applaude.net
- curio.applaude.net
- curaflow.applaude.net
paths:
- /*
backends:
- serviceName: Curio-app
- serviceName: curio-app
servicePort: 80

View File

@ -1,33 +1,35 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: Curio-app
name: curio-app
namespace: curio
spec:
replicas: 2
selector:
matchLabels:
app: Curio-app
app: curio-app
template:
metadata:
labels:
app: Curio-app
app: curio-app
spec:
containers:
- name: Curio
- name: curio
image: 192.168.8.250:5000/curio:latest
ports:
- containerPort: 3000
env:
- name: DATABASE_URL
value: "postgres://postgres:Curio_secret@Curio-db:5432/Curio"
value: "postgres://postgres:curio_secret@curio-db:5432/curio"
---
apiVersion: v1
kind: Service
metadata:
name: Curio-app
name: curio-app
namespace: curio
spec:
selector:
app: Curio-app
app: curio-app
ports:
- port: 80
targetPort: 3000

View File

@ -1,33 +1,35 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: Curio-db
name: curio-db
namespace: curio
spec:
selector:
matchLabels:
app: Curio-db
app: curio-db
template:
metadata:
labels:
app: Curio-db
app: curio-db
spec:
containers:
- name: postgres
image: postgres:15-alpine
env:
- name: POSTGRES_PASSWORD
value: "Curio_secret"
value: "curio_secret"
- name: POSTGRES_DB
value: "Curio"
value: "curio"
ports:
- containerPort: 5432
---
apiVersion: v1
kind: Service
metadata:
name: Curio-db
name: curio-db
namespace: curio
spec:
selector:
app: Curio-db
app: curio-db
ports:
- port: 5432