sms-extension/boltic.yaml

81 lines
2.8 KiB
YAML

# ============================================================================
# Boltic Configuration File - sms-extension
# ============================================================================
#
# ⚠️ WARNING: Changes to this file will directly impact your deployed application!
# - Env changes will update environment variables
# - Scaling changes will affect auto-scaling behavior
# - PortMap changes will modify exposed ports
#
# This file is synced with the Boltic UI. You can edit settings here or in the UI.
#
# ----------------------------------------------------------------------------
# SERVERLESS CONFIG GUIDE
# ----------------------------------------------------------------------------
#
# Environment Variables (Env):
# serverlessConfig:
# Env:
# MY_VAR: "my_value"
# DATABASE_URL: "postgres://..."
# API_KEY: "secret-key"
#
# Port Mapping (PortMap):
# serverlessConfig:
# PortMap:
# - Name: "testhttp"
# Port: 8080
# Protocol: "http"
# - Name: "test https"
# Port: 9090
# Protocol: "https"
#
# Scaling Configuration:
# serverlessConfig:
# Scaling:
# AutoStop: true # Auto-stop when idle
# Min: 1 # Minimum instances
# Max: 5 # Maximum instances
# MaxIdleTime: 300 # Seconds before auto-stop
#
# Resources:
# serverlessConfig:
# Resources:
# CPU: 0.5 # CPU cores (0.1 to 4)
# MemoryMB: 256 # Memory in MB
# MemoryMaxMB: 512 # Max memory in MB
#
# Timeout:
# serverlessConfig:
# Timeout: 120 # Request timeout in seconds
#
# For more info: https://docs.boltic.io/compute/serverless/application-config
# ============================================================================
app: sms-extension
build:
builtin: dockerfile
ignorefile: .gitignore
language: nodejs/24
region: asia-south1
serverlessConfig:
Env:
EXTENSION_API_KEY: 69c5093c4ffb0f91ec20abcd
EXTENSION_API_SECRET: K-9fbOGy2gjZAuz
EXTENSION_BASE_URL: https://send-sms-commerce-extension-e4d57c72.serverless.boltic.app
EXTENSION_CLUSTER_URL: https://api.fynd.com
FDK_STORAGE_CONNECTION_STRING: postgresql://boltic_3aed43ee-2b86-4a72-bbe3-5dc8db588d82_c2d10448:47e5b25520bfbfd0@asia-south1.database-proxy.boltic.app:5432/fdk_session_storage_529b8e7529cf?sslmode=disable
FIRECRAWL_API_KEY: https://api.fynd.com
OPENROUTER_API_KEY: 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
PIXELBIN_API_TOKEN: 97b46296-19d2-4c76-a4fe-2bae1d1c8403
PORT: "8080"
Scaling:
AutoStop: false
Min: 1
Max: 1
MaxIdleTime: 300
Resources:
CPU: 0.5
MemoryMB: 512
MemoryMaxMB: 512