add bookshelf module, fix gitea minor typo, add fixe ip for vms

This commit is contained in:
2026-01-14 10:15:55 +01:00
parent b735996b8d
commit d98c7b8bdb
20 changed files with 410 additions and 230 deletions

42
main.tf
View File

@@ -18,27 +18,6 @@ provider "proxmox" {
}
}
# module "bookshelf" {
# source = "./modules/vm"
# providers = {}
# name = "bookshelf"
# hostname = "bookshelf"
# domain = "aldon.fr"
# vm_id = 210
# node_name = "mop"
# template_id = 103
# cores = 1
# memory = 1024
# disk_size = 16
# ssh_public_key = var.ssh_public_key
# proxmox_host_ip = var.proxmox_host_ip
# }
module "gitea" {
source = "./modules/apps/gitea"
providers = {}
@@ -58,3 +37,24 @@ module "gitea" {
ssh_public_key = var.ssh_public_key
proxmox_host_ip = var.proxmox_host_ip
}
module "bookshelf" {
source = "./modules/apps/bookshelf"
providers = {}
name = "bookshelf"
hostname = "bookshelf"
domain = "aldon.fr"
vm_id = 211
node_name = "mop"
template_id = 103
cores = 1
memory = 1024
disk_size = 16
ssh_public_key = var.ssh_public_key
proxmox_host_ip = var.proxmox_host_ip
}