Initial commit

This commit is contained in:
Marc Fokkert
2023-07-26 21:01:51 +02:00
commit e357babf6d
52 changed files with 1681 additions and 0 deletions

32
kodi.tf Normal file
View File

@@ -0,0 +1,32 @@
resource "docker_image" "kodi" {
name = "linuxserver/kodi-headless:latest"
}
resource "docker_container" "kodi" {
image = docker_image.kodi.latest
name = "kodi"
restart = "always"
env = [
"TZ=europe/amsterdam",
]
mounts {
target = "/config/.kodi"
source = "/share/appdata/kodi"
type = "bind"
}
lifecycle {
ignore_changes = [
ulimit,
log_opts
]
}
networks_advanced {
name = docker_network.bridge.name
ipv4_address = "192.168.2.128"
}
}