63 lines
2.0 KiB
Plaintext
63 lines
2.0 KiB
Plaintext
# =============================================================================
|
|
# AWS ECS Example — terraform.tfvars
|
|
# WARNING: Do NOT commit this file with real secrets (API keys, passwords).
|
|
# Use environment variables, a secrets manager, or .gitignore this file.
|
|
# =============================================================================
|
|
|
|
region = "us-east-1"
|
|
image_tag = "latest"
|
|
name_prefix = "bifrost"
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Config approach 1: File-based
|
|
# Point to an existing config.json. Variable overrides below will merge on top.
|
|
# -----------------------------------------------------------------------------
|
|
# config_json_file = "./config.json"
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Config approach 2: Variable-based
|
|
# Define config sections directly. These override matching keys from the file.
|
|
# -----------------------------------------------------------------------------
|
|
config_store = {
|
|
enabled = true
|
|
type = "sqlite"
|
|
config = {
|
|
path = "/app/data/bifrost.db"
|
|
}
|
|
}
|
|
|
|
logs_store = {
|
|
enabled = true
|
|
type = "sqlite"
|
|
config = {
|
|
path = "/app/data/bifrost-logs.db"
|
|
}
|
|
}
|
|
|
|
providers_config = {
|
|
openai = {
|
|
api_key = "sk-..."
|
|
}
|
|
anthropic = {
|
|
api_key = "sk-ant-..."
|
|
}
|
|
}
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Compute
|
|
# -----------------------------------------------------------------------------
|
|
desired_count = 2
|
|
cpu = 512
|
|
memory = 1024
|
|
create_load_balancer = true
|
|
|
|
# -----------------------------------------------------------------------------
|
|
# Autoscaling
|
|
# -----------------------------------------------------------------------------
|
|
# NOTE: If you are using OSS version - running multiple nodes has an effect on
|
|
# functionality of the system. Please read
|
|
# https://docs.getbifrost.ai/deployment-guides/how-to/multinode
|
|
enable_autoscaling = true
|
|
min_capacity = 1
|
|
max_capacity = 5
|