mirror of
https://github.com/SamyRai/turash.git
synced 2025-12-26 23:01:33 +00:00
45 lines
1000 B
YAML
45 lines
1000 B
YAML
apiVersion: v1
|
|
kind: ConfigMap
|
|
metadata:
|
|
name: turash-backend-config
|
|
namespace: turash
|
|
labels:
|
|
app: turash-backend
|
|
component: config
|
|
data:
|
|
# Server Configuration
|
|
SERVER_PORT: "8080"
|
|
GIN_MODE: "release"
|
|
LOG_LEVEL: "info"
|
|
ENVIRONMENT: "production"
|
|
|
|
# CORS Configuration
|
|
CORS_ORIGIN: "*"
|
|
|
|
# PostgreSQL Configuration (hosts will be overridden by service names)
|
|
POSTGRES_HOST: "turash-postgres"
|
|
POSTGRES_PORT: "5432"
|
|
POSTGRES_DB: "turash"
|
|
POSTGRES_SSLMODE: "require"
|
|
|
|
# Neo4j Configuration
|
|
NEO4J_URI: "neo4j://turash-neo4j:7687"
|
|
NEO4J_USERNAME: "neo4j"
|
|
NEO4J_DATABASE: "neo4j"
|
|
NEO4J_ENABLED: "true"
|
|
|
|
# Redis Configuration
|
|
REDIS_URL: "redis://turash-redis:6379"
|
|
|
|
# NATS Configuration
|
|
NATS_URL: "nats://turash-nats:4222"
|
|
|
|
# Ollama Configuration (optional)
|
|
OLLAMA_URL: "http://turash-ollama:11434"
|
|
OLLAMA_MODEL: "qwen2.5:7b"
|
|
|
|
# Google Maps API (optional - set if needed)
|
|
# GOOGLE_KG_API_KEY: ""
|
|
# GOOGLE_CLOUD_PROJECT_ID: ""
|
|
|