Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
d228a92932 | |||
56eea90eff
|
|||
57199a21e8 | |||
57fd18ba04
|
10
CHANGELOG.md
10
CHANGELOG.md
@@ -6,6 +6,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
## [Unreleased]
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.5.5] - 2025-01-12
|
||||||
|
|
||||||
|
### Other
|
||||||
|
- add caddy extension
|
||||||
|
|
||||||
|
## [0.5.4] - 2025-01-12
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
- add port for proxy
|
||||||
|
|
||||||
## [0.5.3] - 2025-01-12
|
## [0.5.3] - 2025-01-12
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
3
node.tf
3
node.tf
@@ -46,11 +46,12 @@ resource "null_resource" "node_caddy_template" {
|
|||||||
user = "root"
|
user = "root"
|
||||||
private_key = var.ssh_private
|
private_key = var.ssh_private
|
||||||
host = var.proxy_ip
|
host = var.proxy_ip
|
||||||
|
port = var.proxy_port
|
||||||
}
|
}
|
||||||
|
|
||||||
provisioner "file" {
|
provisioner "file" {
|
||||||
source = local_file.node_caddy.filename
|
source = local_file.node_caddy.filename
|
||||||
destination = "${var.proxy_location}/${var.name}.yml"
|
destination = "${var.proxy_location}/${var.name}.caddy"
|
||||||
}
|
}
|
||||||
|
|
||||||
depends_on = [
|
depends_on = [
|
||||||
|
@@ -13,6 +13,11 @@ variable "proxy_ip" {
|
|||||||
default = "10.0.9.0"
|
default = "10.0.9.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
variable "proxy_port" {
|
||||||
|
description = "which port to use for the caddy file"
|
||||||
|
default = 222
|
||||||
|
}
|
||||||
|
|
||||||
variable "proxy_location" {
|
variable "proxy_location" {
|
||||||
description = "which where to place the files upstream"
|
description = "which where to place the files upstream"
|
||||||
default = "/root/wireguard/nodes"
|
default = "/root/wireguard/nodes"
|
||||||
|
Reference in New Issue
Block a user