This commit is contained in:
johnpccd 2025-05-24 19:12:06 +02:00
parent dc91d89ecc
commit 36bb44bfe7
4 changed files with 84 additions and 1385 deletions

View File

@ -43,6 +43,16 @@ spec:
value: "image-embeddings" value: "image-embeddings"
- name: LOG_LEVEL - name: LOG_LEVEL
value: "INFO" value: "INFO"
- name: CORS_ORIGINS
value: "*"
- name: CORS_METHODS
value: "GET,POST,PUT,DELETE,OPTIONS"
- name: CORS_HEADERS
value: "Content-Type,Authorization,X-Requested-With"
- name: CORS_EXPOSE_HEADERS
value: "Content-Length,Content-Range"
- name: CORS_MAX_AGE
value: "3600"
volumeMounts: volumeMounts:
- name: gcp-sa-key - name: gcp-sa-key
mountPath: /var/secrets/google mountPath: /var/secrets/google

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -7,4 +7,10 @@ firestore_db_name = "sereact-imagedb"
# Vector Database Configuration # Vector Database Configuration
qdrant_api_key = "your-secure-api-key-here" # Optional: leave empty for no authentication qdrant_api_key = "your-secure-api-key-here" # Optional: leave empty for no authentication
allowed_cidr_blocks = "YOUR_IP_ADDRESS/32" # Replace with your IP or network range allowed_cidr_blocks = "YOUR_IP_ADDRESS/32" # Replace with your IP or network range
use_static_ip = false # Set to true if you want a static IP use_static_ip = false # Set to true if you want a static IP
# Secret Configuration (all optional - random values will be generated if not provided)
api_key_secret = "" # Optional: will generate random key if empty
vector_db_api_key = "" # Optional: for external vector DB like Pinecone
gcs_credentials_json = "" # Optional: JSON content of GCS service account key
firestore_credentials_json = "" # Optional: JSON content of Firestore service account key