homelab/terraform-home/main.tf

66 lines
1.3 KiB
Terraform
Raw Normal View History

2023-12-06 21:06:36 -03:00
variable "endpoint" {
default = "192.168.15.92"
}
2023-08-09 21:37:50 -03:00
module "caddy" {
source = "./modules/caddy"
cloudflare_api_token = var.cloudflare_caddy_api_token
2023-12-06 21:06:36 -03:00
endpoint = var.endpoint
2023-08-09 21:37:50 -03:00
providers = {
nomad = nomad
}
2023-12-04 22:29:52 -03:00
}
module "postgree" {
source = "./modules/postgreeSQL"
postgree_user = var.postgree_user
postgree_password = var.postgree_password
pgadmin_user = var.pgadmin_user
pgadmin_password = var.pgadmin_password
providers = {
nomad = nomad
}
}
2024-10-23 20:25:38 -03:00
module "redis" {
source = "./modules/redis"
providers = {
nomad = nomad
}
}
2023-12-06 21:06:36 -03:00
module "keycloak" {
source = "./modules/keycloak"
postgree_user = var.postgree_user
postgree_password = var.postgree_password
postgree_endpoint = var.endpoint
2023-12-30 23:21:05 -03:00
KC_USER = var.kc_user
KC_PASSWORD = var.kc_password
2024-01-03 22:14:30 -03:00
providers = {
nomad = nomad
}
}
module "icecast" {
source = "./modules/icecast"
2024-05-03 20:41:43 -03:00
providers = {
nomad = nomad
}
}
module "twitchminer" {
2024-10-24 03:03:03 -03:00
source = "./modules/twitchminer"
2024-05-03 20:41:43 -03:00
discord_webhook = var.discord_webhook
twitch_username = var.twitch_username
twitch_password = var.twitch_password
2024-11-18 17:21:48 -03:00
providers = {
nomad = nomad
}
}
module "kavita" {
source = "./modules/kavita"
2023-12-06 21:06:36 -03:00
providers = {
nomad = nomad
}
}