Initial Commit
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
resource "proxmox_lxc" "ghshr" {
|
||||
resource "proxmox_lxc" "gtar" {
|
||||
|
||||
target_node = "pve"
|
||||
vmid = "200"
|
||||
hostname = "ghshr"
|
||||
hostname = "gtar"
|
||||
ostemplate = "local:vztmpl/debian-13-standard_13.1-1_amd64.tar.zst"
|
||||
password = var.ci_password
|
||||
unprivileged = false
|
||||
@ -10,6 +10,8 @@ resource "proxmox_lxc" "ghshr" {
|
||||
onboot = true
|
||||
start = true
|
||||
startup = "order=1000"
|
||||
tags = "gitea;container"
|
||||
|
||||
|
||||
|
||||
ssh_public_keys = <<EOF
|
||||
@ -36,5 +38,6 @@ resource "proxmox_lxc" "ghshr" {
|
||||
ip = "10.10.10.8/24"
|
||||
gw = "10.10.10.1"
|
||||
tag = 10
|
||||
ip6 = "auto"
|
||||
}
|
||||
}
|
@ -5,13 +5,11 @@ terraform {
|
||||
version = "3.0.2-rc04"
|
||||
}
|
||||
|
||||
bitwarden = {
|
||||
source = "maxlaverse/bitwarden"
|
||||
version = ">= 0.13.6"
|
||||
}
|
||||
}
|
||||
|
||||
backend "pg" {}
|
||||
backend "pg" {
|
||||
schema_name = "homelab-ghshr"
|
||||
}
|
||||
encryption {
|
||||
key_provider "pbkdf2" "mykey" {
|
||||
passphrase = var.passphrase
|
||||
|
Reference in New Issue
Block a user