Initial commit - realms platform
This commit is contained in:
parent
c590ab6d18
commit
c717c3751c
234 changed files with 74103 additions and 15231 deletions
95
terraform/modules/app_server/variables.tf
Normal file
95
terraform/modules/app_server/variables.tf
Normal file
|
|
@ -0,0 +1,95 @@
|
|||
# =============================================================================
|
||||
# App Server Module Variables
|
||||
# =============================================================================
|
||||
|
||||
variable "project_name" {
|
||||
description = "Project name"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "environment" {
|
||||
description = "Environment name"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "region" {
|
||||
description = "DigitalOcean region"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "vpc_uuid" {
|
||||
description = "UUID of the VPC"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "vpc_ip_range" {
|
||||
description = "IP range of the VPC (CIDR notation)"
|
||||
type = string
|
||||
}
|
||||
|
||||
variable "ssh_keys" {
|
||||
description = "List of SSH key IDs to add to the droplet"
|
||||
type = list(string)
|
||||
}
|
||||
|
||||
variable "droplet_size" {
|
||||
description = "Size slug for the droplet"
|
||||
type = string
|
||||
default = "s-2vcpu-4gb"
|
||||
}
|
||||
|
||||
variable "droplet_image" {
|
||||
description = "Image slug for the droplet"
|
||||
type = string
|
||||
default = "debian-12-x64"
|
||||
}
|
||||
|
||||
variable "ssh_port" {
|
||||
description = "SSH port (non-standard, VPC only)"
|
||||
type = number
|
||||
default = 51234
|
||||
}
|
||||
|
||||
variable "domain" {
|
||||
description = "Domain name for the app"
|
||||
type = string
|
||||
default = "realms.pub"
|
||||
}
|
||||
|
||||
variable "enable_backups" {
|
||||
description = "Enable automated backups"
|
||||
type = bool
|
||||
default = false
|
||||
}
|
||||
|
||||
variable "tags" {
|
||||
description = "Tags to apply to resources"
|
||||
type = list(string)
|
||||
default = []
|
||||
}
|
||||
|
||||
# =============================================================================
|
||||
# DNS Configuration
|
||||
# =============================================================================
|
||||
|
||||
variable "manage_dns" {
|
||||
description = "Whether to manage DNS record via DigitalOcean"
|
||||
type = bool
|
||||
default = true
|
||||
}
|
||||
|
||||
variable "dns_zone" {
|
||||
description = "DNS zone (base domain) managed by DigitalOcean"
|
||||
type = string
|
||||
default = "realms.pub"
|
||||
}
|
||||
|
||||
# =============================================================================
|
||||
# Forgejo Registry
|
||||
# =============================================================================
|
||||
|
||||
variable "forgejo_registry" {
|
||||
description = "Forgejo container registry URL"
|
||||
type = string
|
||||
default = "qbit.realms.pub"
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue