Disable some services
Move vikunja, ofellia and nginx-lb to microos
This commit is contained in:
@@ -21,34 +21,33 @@ resource "docker_container" "nginx-lb" {
|
||||
|
||||
mounts {
|
||||
target = "/etc/nginx/nginx.conf"
|
||||
source = "/share/appdata/nginx-lb/nginx.conf"
|
||||
source = "/var/lib/containers/nginx-lb/nginx.conf"
|
||||
type = "bind"
|
||||
}
|
||||
|
||||
mounts {
|
||||
target = "/etc/nginx/config"
|
||||
source = "/share/appdata/nginx-lb/conf"
|
||||
source = "/var/lib/containers/nginx-lb/conf"
|
||||
type = "bind"
|
||||
}
|
||||
|
||||
mounts {
|
||||
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"
|
||||
}
|
||||
|
||||
|
||||
mounts {
|
||||
target = "/etc/letsencrypt"
|
||||
source = "/share/appdata/nginx-lb/secrets"
|
||||
source = "/var/lib/containers/nginx-lb/secrets"
|
||||
type = "bind"
|
||||
}
|
||||
|
||||
restart = "always"
|
||||
|
||||
networks_advanced {
|
||||
name = docker_network.bridge.name
|
||||
ipv4_address = "192.168.2.115"
|
||||
name = docker_network.container-public.name
|
||||
ipv4_address = "192.168.3.29"
|
||||
}
|
||||
|
||||
lifecycle {
|
||||
@@ -23,7 +23,7 @@ resource "docker_container" "ofelia" {
|
||||
|
||||
mounts {
|
||||
target = "/etc/ofelia"
|
||||
source = "/share/appdata/ofelia"
|
||||
source = "/var/lib/containers/ofelia"
|
||||
type = "bind"
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -33,13 +33,13 @@ resource "docker_container" "vikunja" {
|
||||
]
|
||||
|
||||
networks_advanced {
|
||||
name = docker_network.bridge.name
|
||||
ipv4_address = "192.168.2.143"
|
||||
name = docker_network.container-public.name
|
||||
ipv4_address = "192.168.3.28"
|
||||
}
|
||||
|
||||
mounts {
|
||||
target = "/files"
|
||||
source = "/share/appdata/vikunja"
|
||||
source = "/var/lib/containers/vikunja"
|
||||
type = "bind"
|
||||
}
|
||||
|
||||
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