Skip to content

Commit

Permalink
Add worker container
Browse files Browse the repository at this point in the history
  • Loading branch information
eternaltyro committed Jul 18, 2023
1 parent d011201 commit 6a11afa
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions infra/production/container.tf
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,20 @@ resource "azurerm_container_group" "app" {
environment_variables = var.container_envvar
}

container {
name = "worker"
image = lookup(var.container_images, "worker")
cpu = "0.5"
memory = "1.5"

ports {
port = 8000
protocol = "TCP"
}

environment_variables = var.container_envvar
}

tags = {
}
}

0 comments on commit 6a11afa

Please sign in to comment.