Disable some services

Move deluge to microos
This commit is contained in:
Marc Fokkert
2025-08-31 08:21:50 +02:00
parent 7ea67d2cf0
commit 5c7f056376
8 changed files with 8 additions and 17 deletions

View File

@@ -20,26 +20,17 @@ resource "docker_container" "deluge" {
"UMASK=002" "UMASK=002"
] ]
# networks_advanced {
# name = docker_network.bridge.name
# ipv4_address = "192.168.2.137"
# }
#
# networks_advanced {
# name = docker_network.gluetun.name
# }
network_mode = "container:gluetun" network_mode = "container:gluetun"
mounts { mounts {
target = "/config" target = "/config"
source = "/share/appdata/deluge" source = "/var/lib/containers/deluge"
type = "bind" type = "bind"
} }
volumes { volumes {
container_path = "/data" container_path = "/data"
volume_name = "truenas-arr" volume_name = docker_volume.truenas-arr.name
} }
depends_on = [ depends_on = [

View File

@@ -13,7 +13,7 @@ resource "docker_container" "gluetun" {
hostname = "proxy" hostname = "proxy"
capabilities { capabilities {
add = ["NET_ADMIN"] add = ["CAP_NET_ADMIN"]
} }
env = [ env = [
@@ -36,7 +36,7 @@ resource "docker_container" "gluetun" {
mounts { mounts {
target = "/gluetun/config" target = "/gluetun/config"
source = "/share/appdata/gluetun" source = "/var/lib/containers/gluetun"
type = "bind" type = "bind"
} }
@@ -44,8 +44,8 @@ resource "docker_container" "gluetun" {
restart = "always" restart = "always"
networks_advanced { networks_advanced {
name = docker_network.bridge.name name = docker_network.container-public.name
ipv4_address = "192.168.2.137" ipv4_address = "192.168.3.27"
} }
lifecycle { lifecycle {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long