83 lines
1.6 KiB
TOML
Raw Normal View History

# Multi-Provider Web App Workspace Configuration
# Credentials and provider-specific settings
[workspace]
name = "multi-provider-web-app"
environment = "production"
owner = "platform-team"
description = "Web application across DigitalOcean, AWS, and Hetzner"
# DigitalOcean Configuration
[providers.digitalocean]
enabled = true
token_env = "DIGITALOCEAN_TOKEN"
default_region = "nyc3"
[providers.digitalocean.settings]
enable_monitoring = true
enable_backups = true
enable_ipv6 = true
# AWS Configuration
[providers.aws]
enabled = true
region = "us-east-1"
access_key_env = "AWS_ACCESS_KEY_ID"
secret_key_env = "AWS_SECRET_ACCESS_KEY"
[providers.aws.settings]
multi_az = true
backup_retention_days = 30
enable_performance_insights = true
enable_enhanced_monitoring = true
# Hetzner Configuration
[providers.hetzner]
enabled = true
token_env = "HCLOUD_TOKEN"
default_location = "nbg1"
default_datacenter = "nbg1-dc8"
[providers.hetzner.settings]
enable_automount = false
default_volume_format = "ext4"
# Deployment Settings
[deployment]
strategy = "rolling"
batch_size = 1
health_check_wait = 60
rollback_on_failure = true
# Monitoring Settings
[monitoring]
enabled = true
metric_collection_interval = 60
alert_on_threshold_exceeded = true
[monitoring.thresholds]
cpu = 80
memory = 85
disk = 90
network = 1000
# Backup Settings
[backup]
enabled = true
frequency = "daily"
retention_days = 30
compression = true
encryption = true
# Network Settings
[networking]
enable_vpn_tunnels = true
vpn_protocol = "ipsec"
vpn_encryption = "aes-256"
# Cost Tracking
[cost_tracking]
enabled = true
budget_alert_threshold = 200
monthly_budget = 300