This commit is contained in:
2023-07-04 19:02:30 +02:00
parent 04c1aa3086
commit 7cc046ea2a
41 changed files with 1401 additions and 4 deletions

View File

@ -0,0 +1,16 @@
provider "docker" {
host = "tcp://${var.ssh_host}:2375"
}
resource "docker_image" "nginx" {
name = "nginx:latest"
}
resource "docker_container" "nginx" {
image = docker_image.nginx.latest
name = "enginecks"
ports {
internal = 80
external = 80
}
}

View File

@ -0,0 +1 @@
variable "ssh_host" {}