traefik labels
This commit is contained in:
parent
330184ab08
commit
e977329cfa
|
@ -2,4 +2,5 @@ env.sh
|
||||||
.terraform
|
.terraform
|
||||||
*.tfstate
|
*.tfstate
|
||||||
*.tfstate.backup
|
*.tfstate.backup
|
||||||
*.out
|
*.out
|
||||||
|
*.backup
|
|
@ -27,6 +27,8 @@ resource "cloudflare_record" "internet-wildcard" {
|
||||||
type = "CNAME"
|
type = "CNAME"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
### 2 useless records
|
||||||
|
|
||||||
resource "cloudflare_record" "act" {
|
resource "cloudflare_record" "act" {
|
||||||
domain = "${var.domain}"
|
domain = "${var.domain}"
|
||||||
name = "act"
|
name = "act"
|
||||||
|
@ -41,6 +43,10 @@ resource "cloudflare_record" "act-wildcard" {
|
||||||
type = "A"
|
type = "A"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
########################
|
||||||
|
## Mailgun Mailing Lists
|
||||||
|
########################
|
||||||
|
|
||||||
resource "cloudflare_record" "mailgun-spf" {
|
resource "cloudflare_record" "mailgun-spf" {
|
||||||
domain = "${var.domain}"
|
domain = "${var.domain}"
|
||||||
name = "l"
|
name = "l"
|
||||||
|
|
|
@ -36,16 +36,9 @@ resource docker_container "transmission" {
|
||||||
name = "transmission"
|
name = "transmission"
|
||||||
image = "${docker_image.transmission.latest}"
|
image = "${docker_image.transmission.latest}"
|
||||||
|
|
||||||
ports {
|
labels {
|
||||||
internal = 9091
|
"traefik.port" = 9091
|
||||||
external = 9091
|
"traefik.enable" = "true"
|
||||||
ip = "192.168.1.111"
|
|
||||||
}
|
|
||||||
|
|
||||||
ports {
|
|
||||||
internal = 9091
|
|
||||||
external = 9091
|
|
||||||
ip = "10.8.0.14"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ports {
|
ports {
|
||||||
|
@ -122,10 +115,9 @@ resource "docker_container" "emby" {
|
||||||
container_path = "/media"
|
container_path = "/media"
|
||||||
}
|
}
|
||||||
|
|
||||||
ports {
|
labels {
|
||||||
internal = 8096
|
"traefik.port" = 8096
|
||||||
external = 8096
|
"traefik.enable" = "true"
|
||||||
ip = "0.0.0.0"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
memory = 512
|
memory = 512
|
||||||
|
@ -162,10 +154,9 @@ resource "docker_container" "flexget" {
|
||||||
container_path = "/tv"
|
container_path = "/tv"
|
||||||
}
|
}
|
||||||
|
|
||||||
ports {
|
labels {
|
||||||
internal = 5050
|
"traefik.port" = 5050
|
||||||
external = 5050
|
"traefik.enable" = "true"
|
||||||
ip = "0.0.0.0"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
memory = 128
|
memory = 128
|
||||||
|
@ -202,10 +193,9 @@ resource "docker_container" "couchpotato" {
|
||||||
container_path = "/movies"
|
container_path = "/movies"
|
||||||
}
|
}
|
||||||
|
|
||||||
ports {
|
labels {
|
||||||
internal = 5050
|
"traefik.port" = 5050
|
||||||
external = 5051
|
"traefik.enable" = "true"
|
||||||
ip = "0.0.0.0"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
memory = 128
|
memory = 128
|
||||||
|
@ -242,8 +232,9 @@ resource "docker_container" "traefik" {
|
||||||
[web]
|
[web]
|
||||||
address = ":1111"
|
address = ":1111"
|
||||||
[docker]
|
[docker]
|
||||||
domain = "docker.in.bb8.fun"
|
domain = "in.bb8.fun,bb8.fun"
|
||||||
watch = true
|
watch = true
|
||||||
|
exposedbydefault = false
|
||||||
EOF
|
EOF
|
||||||
file = "/etc/traefik/traefik.toml"
|
file = "/etc/traefik/traefik.toml"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue