feat: add coolify

This commit is contained in:
Yuris Cakranegara
2025-06-09 20:54:10 +10:00
parent 27ce999c97
commit b48f81ed9d
8 changed files with 621 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
output "container_name" {
description = "Name of the Caddy proxy container"
value = docker_container.caddy.name
}
output "container_ip" {
description = "IP address of the Caddy container"
value = docker_container.caddy.network_data[0].ip_address
}
output "domains" {
description = "Domains being proxied by Caddy"
value = [for site in var.sites : site.domain]
}
output "ready" {
description = "Boolean indicating if Caddy is ready"
value = docker_container.caddy.id != ""
}