Move unifi, uptime kuma and sabnzdb
This commit is contained in:
@@ -22,19 +22,19 @@ resource "docker_container" "sabnzdb" {
|
|||||||
|
|
||||||
|
|
||||||
networks_advanced {
|
networks_advanced {
|
||||||
name = docker_network.bridge.name
|
name = docker_network.container-public.name
|
||||||
ipv4_address = "192.168.2.140"
|
ipv4_address = "192.168.3.32"
|
||||||
}
|
}
|
||||||
|
|
||||||
mounts {
|
mounts {
|
||||||
target = "/config"
|
target = "/config"
|
||||||
source = "/share/appdata/sabnzdb"
|
source = "/var/lib/containers/sabnzdb"
|
||||||
type = "bind"
|
type = "bind"
|
||||||
}
|
}
|
||||||
|
|
||||||
volumes {
|
volumes {
|
||||||
container_path = "/data"
|
container_path = "/data"
|
||||||
volume_name = "truenas-arr"
|
volume_name = docker_volume.truenas-arr.name
|
||||||
}
|
}
|
||||||
|
|
||||||
lifecycle {
|
lifecycle {
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -13,15 +13,15 @@ resource "docker_container" "unifi" {
|
|||||||
|
|
||||||
mounts {
|
mounts {
|
||||||
target = "/unifi"
|
target = "/unifi"
|
||||||
source = "/share/appdata/unifi"
|
source = "/var/lib/containers/unifi"
|
||||||
type = "bind"
|
type = "bind"
|
||||||
}
|
}
|
||||||
|
|
||||||
restart = "always"
|
restart = "always"
|
||||||
|
|
||||||
networks_advanced {
|
networks_advanced {
|
||||||
name = docker_network.bridge.name
|
name = docker_network.container-public.name
|
||||||
ipv4_address = "192.168.2.67"
|
ipv4_address = "192.168.3.30"
|
||||||
}
|
}
|
||||||
|
|
||||||
lifecycle {
|
lifecycle {
|
||||||
@@ -15,13 +15,13 @@ resource "docker_container" "uptime-kuma" {
|
|||||||
|
|
||||||
mounts {
|
mounts {
|
||||||
target = "/app/data"
|
target = "/app/data"
|
||||||
source = "/share/appdata/uptime-kuma"
|
source = "/var/lib/containers/uptime-kuma"
|
||||||
type = "bind"
|
type = "bind"
|
||||||
}
|
}
|
||||||
|
|
||||||
networks_advanced {
|
networks_advanced {
|
||||||
name = docker_network.bridge.name
|
name = docker_network.container-public.name
|
||||||
ipv4_address = "192.168.2.133"
|
ipv4_address = "192.168.3.31"
|
||||||
}
|
}
|
||||||
|
|
||||||
lifecycle {
|
lifecycle {
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user