mirror of
https://github.com/luigieai/homelab.git
synced 2025-06-07 07:56:37 -03:00
formatting
This commit is contained in:
parent
204f04081a
commit
b414d340a8
7 changed files with 14 additions and 14 deletions
|
@ -48,7 +48,7 @@ module "icecast" {
|
||||||
}
|
}
|
||||||
|
|
||||||
module "twitchminer" {
|
module "twitchminer" {
|
||||||
source = "./modules/twitchminer"
|
source = "./modules/twitchminer"
|
||||||
discord_webhook = var.discord_webhook
|
discord_webhook = var.discord_webhook
|
||||||
twitch_username = var.twitch_username
|
twitch_username = var.twitch_username
|
||||||
twitch_password = var.twitch_password
|
twitch_password = var.twitch_password
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
resource "nomad_job" "app" {
|
resource "nomad_job" "app" {
|
||||||
jobspec = templatefile("${path.module}/conf/icecast.hcl", {
|
jobspec = templatefile("${path.module}/conf/icecast.hcl", {
|
||||||
NOMAD_ALLOC_DIR = "/alloc"
|
NOMAD_ALLOC_DIR = "/alloc"
|
||||||
|
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@ resource "nomad_job" "app" {
|
||||||
POSTGREE_ENDPOINT = var.postgree_endpoint
|
POSTGREE_ENDPOINT = var.postgree_endpoint
|
||||||
POSTGREE_USER = var.postgree_user
|
POSTGREE_USER = var.postgree_user
|
||||||
POSTGREE_PASSWORD = var.postgree_password
|
POSTGREE_PASSWORD = var.postgree_password
|
||||||
KC_USER = var.KC_USER
|
KC_USER = var.KC_USER
|
||||||
KC_PASSWORD = var.KC_PASSWORD
|
KC_PASSWORD = var.KC_PASSWORD
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
resource "nomad_job" "app" {
|
resource "nomad_job" "app" {
|
||||||
jobspec = templatefile("${path.module}/conf/redis.hcl", {
|
jobspec = templatefile("${path.module}/conf/redis.hcl", {
|
||||||
NOMAD_ALLOC_DIR = "/alloc"
|
NOMAD_ALLOC_DIR = "/alloc"
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
resource "nomad_job" "app_twitchminer" {
|
resource "nomad_job" "app_twitchminer" {
|
||||||
jobspec = templatefile("${path.module}/conf/twitchminer.hcl", {
|
jobspec = templatefile("${path.module}/conf/twitchminer.hcl", {
|
||||||
NOMAD_ALLOC_DIR = "/alloc"
|
NOMAD_ALLOC_DIR = "/alloc"
|
||||||
RUN_FILE = data.template_file.runpy.rendered
|
RUN_FILE = data.template_file.runpy.rendered
|
||||||
})
|
})
|
||||||
}
|
}
|
|
@ -4,11 +4,11 @@ variable "discord_webhook" {
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "twitch_username" {
|
variable "twitch_username" {
|
||||||
type = string
|
type = string
|
||||||
description = "Twitch username"
|
description = "Twitch username"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "twitch_password" {
|
variable "twitch_password" {
|
||||||
type = string
|
type = string
|
||||||
description = "Twitch password"
|
description = "Twitch password"
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,16 +34,16 @@ variable "kc_password" {
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "discord_webhook" {
|
variable "discord_webhook" {
|
||||||
type = string
|
type = string
|
||||||
description = "Discord webhook"
|
description = "Discord webhook"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "twitch_username" {
|
variable "twitch_username" {
|
||||||
type = string
|
type = string
|
||||||
description = "Twitch username"
|
description = "Twitch username"
|
||||||
}
|
}
|
||||||
|
|
||||||
variable "twitch_password" {
|
variable "twitch_password" {
|
||||||
type = string
|
type = string
|
||||||
description = "Twitch password"
|
description = "Twitch password"
|
||||||
}
|
}
|
Loading…
Add table
Reference in a new issue