Disable some services

Move vikunja, ofellia and nginx-lb to microos
This commit is contained in:
Marc Fokkert
2025-08-31 08:45:51 +02:00
parent 5c7f056376
commit 46a9677551
13 changed files with 14 additions and 15 deletions
View File
View File
View File
+6 -7
View File
@@ -21,34 +21,33 @@ resource "docker_container" "nginx-lb" {
mounts { mounts {
target = "/etc/nginx/nginx.conf" target = "/etc/nginx/nginx.conf"
source = "/share/appdata/nginx-lb/nginx.conf" source = "/var/lib/containers/nginx-lb/nginx.conf"
type = "bind" type = "bind"
} }
mounts { mounts {
target = "/etc/nginx/config" target = "/etc/nginx/config"
source = "/share/appdata/nginx-lb/conf" source = "/var/lib/containers/nginx-lb/conf"
type = "bind" type = "bind"
} }
mounts { mounts {
target = "/etc/nginx/user_conf.d" target = "/etc/nginx/user_conf.d"
source = "/share/appdata/nginx-lb/user_conf.d" source = "/var/lib/containers/nginx-lb/user_conf.d"
type = "bind" type = "bind"
} }
mounts { mounts {
target = "/etc/letsencrypt" target = "/etc/letsencrypt"
source = "/share/appdata/nginx-lb/secrets" source = "/var/lib/containers/nginx-lb/secrets"
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.115" ipv4_address = "192.168.3.29"
} }
lifecycle { lifecycle {
+1 -1
View File
@@ -23,7 +23,7 @@ resource "docker_container" "ofelia" {
mounts { mounts {
target = "/etc/ofelia" target = "/etc/ofelia"
source = "/share/appdata/ofelia" source = "/var/lib/containers/ofelia"
type = "bind" type = "bind"
} }
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -33,13 +33,13 @@ resource "docker_container" "vikunja" {
] ]
networks_advanced { networks_advanced {
name = docker_network.bridge.name name = docker_network.container-public.name
ipv4_address = "192.168.2.143" ipv4_address = "192.168.3.28"
} }
mounts { mounts {
target = "/files" target = "/files"
source = "/share/appdata/vikunja" source = "/var/lib/containers/vikunja"
type = "bind" type = "bind"
} }
+1 -1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long