Update for skutsje

This commit is contained in:
Marc Fokkert
2024-03-14 11:06:09 +01:00
parent 395a97f4e5
commit abdfb084e9
8 changed files with 736 additions and 3757 deletions

View File

@@ -0,0 +1,25 @@
resource "docker_image" "youless-exporter" {
name = "youless-exporter:latest"
}
resource "docker_container" "youless-exporter" {
image = docker_image.youless-exporter.image_id
name = "youless-exporter"
restart = "always"
command = ["npm", "run", "start"]
networks_advanced {
name = docker_network.bridge.name
ipv4_address = "192.168.2.82"
}
lifecycle {
ignore_changes = [
ulimit,
log_opts
]
}
}