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