Updates, add meshtastic

This commit is contained in:
Marc Fokkert
2025-10-01 13:50:37 +02:00
parent 29a4cc4ee8
commit d0bc3c7af3
3 changed files with 30 additions and 2 deletions

View File

@@ -0,0 +1,28 @@
data "docker_registry_image" "meshtastic" {
name = "ghcr.io/meshtastic/web:latest"
}
resource "docker_image" "meshtastic" {
name = data.docker_registry_image.meshtastic.name
pull_triggers = [data.docker_registry_image.meshtastic.sha256_digest]
}
resource "docker_container" "meshtastic" {
image = docker_image.meshtastic.image_id
name = "meshtastic"
restart = "always"
log_driver = "local"
networks_advanced {
name = docker_network.container-public.name
ipv4_address = "192.168.3.44"
}
lifecycle {
ignore_changes = [
ulimit,
log_opts
]
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long