fix: enforce lowercase and correct namespace for curio deployment
Build MCP Services / build-mcp-filesystem (push) Successful in 1m18s
Details
Build MCP Services / build-mcp-filesystem (push) Successful in 1m18s
Details
This commit is contained in:
parent
15ab4d8696
commit
3c820c5aa7
|
|
@ -1,16 +1,16 @@
|
|||
apiVersion: apisix.apache.org/v2
|
||||
kind: ApisixRoute
|
||||
metadata:
|
||||
name: Curio-route
|
||||
namespace: Curio
|
||||
name: curio-route
|
||||
namespace: curaflow
|
||||
spec:
|
||||
http:
|
||||
- name: Curio-rule
|
||||
- name: curio-rule
|
||||
match:
|
||||
hosts:
|
||||
- Curio.applaude.net
|
||||
- curio.applaude.net
|
||||
paths:
|
||||
- /*
|
||||
backends:
|
||||
- serviceName: Curio-app
|
||||
- serviceName: curio-app
|
||||
servicePort: 80
|
||||
|
|
|
|||
|
|
@ -1,33 +1,33 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: Curio-app
|
||||
name: curio-app
|
||||
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
|
||||
spec:
|
||||
selector:
|
||||
app: Curio-app
|
||||
app: curio-app
|
||||
ports:
|
||||
- port: 80
|
||||
targetPort: 3000
|
||||
|
|
|
|||
|
|
@ -1,33 +1,33 @@
|
|||
apiVersion: apps/v1
|
||||
kind: Deployment
|
||||
metadata:
|
||||
name: Curio-db
|
||||
name: curio-db
|
||||
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
|
||||
spec:
|
||||
selector:
|
||||
app: Curio-db
|
||||
app: curio-db
|
||||
ports:
|
||||
- port: 5432
|
||||
|
|
|
|||
Loading…
Reference in New Issue