Compare commits
1 Commits
main
...
b64428f03b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
b64428f03b |
@@ -6,7 +6,7 @@ on: # yamllint disable-line rule:truthy
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
terraform-lint:
|
terraform-lint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-podman
|
||||||
steps:
|
steps:
|
||||||
- name: Check out code
|
- name: Check out code
|
||||||
uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
|
|||||||
@@ -77,5 +77,7 @@ variable "disk" {
|
|||||||
variable "debian_tmpl" {
|
variable "debian_tmpl" {
|
||||||
description = "Debian template to use"
|
description = "Debian template to use"
|
||||||
type = string
|
type = string
|
||||||
default = "local:vztmpl/debian-13-standard_13.1-1_amd64.tar.zst"
|
default = "local:vztmpl/debian-12-standard_12.7-1_amd64.tar.zst"
|
||||||
|
## other possible value
|
||||||
|
# "local:vztmpl/debian-13-standard_13.1-1_amd64.tar.zst"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
lxc_containers = {
|
lxc_containers = {
|
||||||
haproxy = {
|
haproxy = {
|
||||||
server_desc = "* HAProxy (point de terminaison TLS IPv4)"
|
server_desc = "* HAProxy (point de terminaison TLS IPv4)"
|
||||||
|
debian_tmpl = "local:vztmpl/debian-13-standard_13.1-1_amd64.tar.zst"
|
||||||
ip_suffix = 2
|
ip_suffix = 2
|
||||||
tags = [
|
tags = [
|
||||||
"lbservers"
|
"lbservers"
|
||||||
@@ -9,13 +10,14 @@ lxc_containers = {
|
|||||||
|
|
||||||
bt = {
|
bt = {
|
||||||
server_desc = "* Transmission\n* Sonarr\n* Jackett"
|
server_desc = "* Transmission\n* Sonarr\n* Jackett"
|
||||||
|
debian_tmpl = "local:vztmpl/debian-13-standard_13.1-1_amd64.tar.zst"
|
||||||
ip_suffix = 3
|
ip_suffix = 3
|
||||||
tags = [
|
tags = [
|
||||||
"btservers",
|
"btservers",
|
||||||
"resticservers",
|
"resticservers",
|
||||||
"webservers",
|
"webservers",
|
||||||
]
|
]
|
||||||
memory_dedicated = 2048
|
memory_dedicated = 1024
|
||||||
unprivileged = false
|
unprivileged = false
|
||||||
disk = [{
|
disk = [{
|
||||||
size = "150G"
|
size = "150G"
|
||||||
@@ -48,6 +50,7 @@ lxc_containers = {
|
|||||||
web1 = {
|
web1 = {
|
||||||
server_desc = "* Shaarli\n* FreshRSS\n* Nextcloud\n* Blog\n* Roundcube\n* Firefly3\n* Repo\n* Koillection"
|
server_desc = "* Shaarli\n* FreshRSS\n* Nextcloud\n* Blog\n* Roundcube\n* Firefly3\n* Repo\n* Koillection"
|
||||||
ip_suffix = 5
|
ip_suffix = 5
|
||||||
|
debian_tmpl = "local:vztmpl/debian-13-standard_13.1-1_amd64.tar.zst"
|
||||||
tags = [
|
tags = [
|
||||||
"pgsqlservers",
|
"pgsqlservers",
|
||||||
"phpservers",
|
"phpservers",
|
||||||
@@ -96,6 +99,7 @@ lxc_containers = {
|
|||||||
voice1 = {
|
voice1 = {
|
||||||
server_desc = "* Mumble"
|
server_desc = "* Mumble"
|
||||||
ip_suffix = 7
|
ip_suffix = 7
|
||||||
|
debian_tmpl = "local:vztmpl/debian-13-standard_13.1-1_amd64.tar.zst"
|
||||||
tags = [
|
tags = [
|
||||||
"mumbleservers",
|
"mumbleservers",
|
||||||
"resticservers"
|
"resticservers"
|
||||||
@@ -107,6 +111,7 @@ lxc_containers = {
|
|||||||
syslog = {
|
syslog = {
|
||||||
server_desc = "* syslog-ng"
|
server_desc = "* syslog-ng"
|
||||||
ip_suffix = 8
|
ip_suffix = 8
|
||||||
|
debian_tmpl = "local:vztmpl/debian-13-standard_13.1-1_amd64.tar.zst"
|
||||||
tags = [
|
tags = [
|
||||||
"rsyslogservers"
|
"rsyslogservers"
|
||||||
]
|
]
|
||||||
@@ -119,6 +124,7 @@ lxc_containers = {
|
|||||||
voice3 = {
|
voice3 = {
|
||||||
server_desc = "* Icecast2"
|
server_desc = "* Icecast2"
|
||||||
ip_suffix = 9
|
ip_suffix = 9
|
||||||
|
debian_tmpl = "local:vztmpl/debian-13-standard_13.1-1_amd64.tar.zst"
|
||||||
tags = [
|
tags = [
|
||||||
"icecastservers",
|
"icecastservers",
|
||||||
"webservers"
|
"webservers"
|
||||||
@@ -204,17 +210,29 @@ lxc_containers = {
|
|||||||
server_desc = "* Gitea"
|
server_desc = "* Gitea"
|
||||||
ip_suffix = 16
|
ip_suffix = 16
|
||||||
tags = [
|
tags = [
|
||||||
|
"actrunnerservers",
|
||||||
"giteaservers",
|
"giteaservers",
|
||||||
|
"dockerservers",
|
||||||
"pgsqlservers",
|
"pgsqlservers",
|
||||||
"resticservers",
|
"resticservers",
|
||||||
"webservers",
|
"webservers",
|
||||||
]
|
]
|
||||||
memory_dedicated = 512
|
memory_dedicated = 1024
|
||||||
cpu_cores = 1
|
cpu_cores = 2
|
||||||
|
features = {
|
||||||
|
nesting = true
|
||||||
|
keyctl = true
|
||||||
|
fuse = true
|
||||||
|
mount = null
|
||||||
|
}
|
||||||
disk = [{
|
disk = [{
|
||||||
size = "30G"
|
size = "30G"
|
||||||
path = "/srv"
|
path = "/srv"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
size = "10G"
|
||||||
|
path = "/var/lib/docker"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
size = "5G"
|
size = "5G"
|
||||||
path = "/var/lib/postgresql"
|
path = "/var/lib/postgresql"
|
||||||
@@ -232,6 +250,7 @@ lxc_containers = {
|
|||||||
|
|
||||||
vlt1 = {
|
vlt1 = {
|
||||||
server_desc = "* Vaultwarden"
|
server_desc = "* Vaultwarden"
|
||||||
|
debian_tmpl = "local:vztmpl/debian-13-standard_13.1-1_amd64.tar.zst"
|
||||||
ip_suffix = 18
|
ip_suffix = 18
|
||||||
tags = [
|
tags = [
|
||||||
"resticservers",
|
"resticservers",
|
||||||
@@ -257,7 +276,7 @@ lxc_containers = {
|
|||||||
path = "/srv"
|
path = "/srv"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
size = "20G"
|
size = "10G"
|
||||||
path = "/var/lib/postgresql"
|
path = "/var/lib/postgresql"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -289,6 +308,7 @@ lxc_containers = {
|
|||||||
es1 = {
|
es1 = {
|
||||||
server_desc = "Elastic Search"
|
server_desc = "Elastic Search"
|
||||||
ip_suffix = 21
|
ip_suffix = 21
|
||||||
|
debian_tmpl = "local:vztmpl/debian-13-standard_13.1-1_amd64.tar.zst"
|
||||||
tags = [
|
tags = [
|
||||||
"resticservers",
|
"resticservers",
|
||||||
"elasticsearchservers"
|
"elasticsearchservers"
|
||||||
@@ -322,20 +342,4 @@ lxc_containers = {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
git2 = {
|
|
||||||
server_desc = "* act_runner"
|
|
||||||
ip_suffix = 23
|
|
||||||
unprivileged = false
|
|
||||||
tags = [
|
|
||||||
"podmanservers",
|
|
||||||
"actrunnerservers"
|
|
||||||
]
|
|
||||||
cpu_cores = 2
|
|
||||||
memory_dedicated = 2048
|
|
||||||
disk = [{
|
|
||||||
size = "10G"
|
|
||||||
path = "/srv"
|
|
||||||
}]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ variable "lxc_containers" {
|
|||||||
unprivileged = optional(bool, true)
|
unprivileged = optional(bool, true)
|
||||||
started = optional(bool, true)
|
started = optional(bool, true)
|
||||||
start_on_boot = optional(bool, false)
|
start_on_boot = optional(bool, false)
|
||||||
debian_tmpl = optional(string, "local:vztmpl/debian-13-standard_13.1-1_amd64.tar.zst")
|
debian_tmpl = optional(string, "local:vztmpl/debian-12-standard_12.7-1_amd64.tar.zst")
|
||||||
disk = optional(list(object({
|
disk = optional(list(object({
|
||||||
path = string
|
path = string
|
||||||
size = string
|
size = string
|
||||||
|
|||||||
Reference in New Issue
Block a user