- Opzet cluster werkt
- Opstart redis en minio werkt - Bezig om eigenlijke apps op te starten ... werkt nog niet.
This commit is contained in:
@@ -1,15 +1,6 @@
|
||||
# ConfigMaps and Secrets for EveAI Dev Environment
|
||||
# File: config-secrets.yaml
|
||||
---
|
||||
# Namespace for dev environment
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: eveai-dev
|
||||
labels:
|
||||
environment: dev
|
||||
app: eveai
|
||||
|
||||
# Note: Namespace is now defined in separate namespace.yaml file
|
||||
---
|
||||
# Non-sensitive configuration
|
||||
apiVersion: v1
|
||||
@@ -19,7 +10,7 @@ metadata:
|
||||
namespace: eveai-dev
|
||||
data:
|
||||
# Database configuration (points to external PostgreSQL)
|
||||
DB_HOST: "host.docker.internal" # Will resolve to host IP from inside Kind
|
||||
DB_HOST: "postgres-external" # Points to headless service with endpoints
|
||||
DB_PORT: "5432"
|
||||
DB_NAME: "eveai_dev"
|
||||
DB_USER: "luke"
|
||||
@@ -40,7 +31,7 @@ data:
|
||||
FLOWER_USER: "Felucia"
|
||||
|
||||
# Nginx configuration
|
||||
NGINX_SERVER_NAME: "localhost http://minty.ask-eve-ai-local.com/"
|
||||
NGINX_SERVER_NAME: "minty.ask-eve-ai-local.com localhost"
|
||||
|
||||
# CrewAI configuration
|
||||
CREWAI_STORAGE_DIR: "/app/crewai_storage"
|
||||
@@ -91,16 +82,30 @@ data:
|
||||
SW_EMAIL_SECRET_KEY: ZWM4NDYwNGMtZTJkNC00YjBkLWExMjAtNDA0MjA2OTNmNDJh
|
||||
|
||||
---
|
||||
# External Service for PostgreSQL (points to host database)
|
||||
# Headless Service for PostgreSQL (points to host database)
|
||||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: postgres-external
|
||||
namespace: eveai-dev
|
||||
spec:
|
||||
type: ExternalName
|
||||
externalName: host.docker.internal
|
||||
type: ClusterIP
|
||||
clusterIP: None
|
||||
ports:
|
||||
- port: 5432
|
||||
targetPort: 5432
|
||||
protocol: TCP
|
||||
|
||||
---
|
||||
# Endpoints for PostgreSQL (points to host IP)
|
||||
apiVersion: v1
|
||||
kind: Endpoints
|
||||
metadata:
|
||||
name: postgres-external
|
||||
namespace: eveai-dev
|
||||
subsets:
|
||||
- addresses:
|
||||
- ip: 192.168.1.130 # Host IP where PostgreSQL is running
|
||||
ports:
|
||||
- port: 5432
|
||||
protocol: TCP
|
||||
Reference in New Issue
Block a user