parent
db941c2bab
commit
ddf2d9eb13
|
@ -37,4 +37,4 @@ resource docker_container "gitea" {
|
||||||
restart = "unless-stopped"
|
restart = "unless-stopped"
|
||||||
destroy_grace_seconds = 10
|
destroy_grace_seconds = 10
|
||||||
must_run = true
|
must_run = true
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,9 +11,9 @@ resource "docker_container" "traefik" {
|
||||||
|
|
||||||
# Admin Backend
|
# Admin Backend
|
||||||
ports {
|
ports {
|
||||||
internal = 1111
|
internal = 1111
|
||||||
external = 1111
|
external = 1111
|
||||||
ip = "${var.ips["tun0"]}"
|
ip = "${var.ips["tun0"]}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Local Web Server
|
# Local Web Server
|
||||||
|
|
|
@ -21,9 +21,10 @@ variable "wiki_session_secret" {
|
||||||
|
|
||||||
variable "ips" {
|
variable "ips" {
|
||||||
type = "map"
|
type = "map"
|
||||||
|
|
||||||
default = {
|
default = {
|
||||||
eth0 = "192.168.1.111"
|
eth0 = "192.168.1.111"
|
||||||
tun0 = "10.8.0.14"
|
tun0 = "10.8.0.14"
|
||||||
static = "139.59.48.222"
|
static = "139.59.48.222"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue