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

25
youless-exporter.tf Normal file
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.latest
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
]
}
}