shuttles #2

Open
thomas wants to merge 27 commits from shuttles into main
2 changed files with 23 additions and 47 deletions
Showing only changes of commit 5e04a2fb0c - Show all commits

View File

@ -49,17 +49,29 @@ module "valkey" {
ssh_private_key_path = var.ssh_private_key_path ssh_private_key_path = var.ssh_private_key_path
} }
# module "vw-hub" { module "airsonic-advanced" {
# wait_on = module.minio.installed wait_on = module.hetzner.installed
# source = "./modules/airsonic-advanced"
# source = "./modules/vw-hub" server_ip = module.hetzner.server_ip
# server_ip = module.hetzner.server_ip ssh_private_key_path = var.ssh_private_key_path
# ssh_private_key_path = var.ssh_private_key_path server_domain = module.hetzner.server_domain
# domain = "hub.${module.hetzner.server_domain}" }
# s3_access_key = module.minio.access_key
# s3_secret_key = module.minio.secret_key module "mopidy" {
# s3_server = module.minio.server wait_on = module.hetzner.installed
# } source = "./modules/mopidy"
server_ip = module.hetzner.server_ip
ssh_private_key_path = var.ssh_private_key_path
server_domain = module.hetzner.server_domain
}
module "beets" {
wait_on = module.hetzner.installed
source = "./modules/beets"
server_ip = module.hetzner.server_ip
server_domain = module.hetzner.server_domain
ssh_private_key_path = var.ssh_private_key_path
}
output "minio_app_urls" { output "minio_app_urls" {
value = module.minio.app_urls value = module.minio.app_urls

View File

@ -1,36 +0,0 @@
variable "wait_on" {
type = any
description = "Resources to wait on"
default = true
}
variable "server_ip" {
type = string
}
variable "ssh_private_key_path" {
type = string
}
module "redis" {
source = "../quadlet-app"
wait_on = var.wait_on
server_ip = var.server_ip
ssh_private_key_path = var.ssh_private_key_path
app_name = "redis"
image = "docker.io/redis:7-alpine"
ports = ["6379:6379"]
volumes = ["/opt/storage/data/redis:/data:Z"]
command = ["redis-server", "--appendonly", "yes"]
}
output "app_urls" {
value = module.redis.app_urls
}
output "installed" {
value = true
depends_on = [module.redis.installed]
}