From a7e62241adcb36c541ec645f73c1998fc16f80e9 Mon Sep 17 00:00:00 2001 From: eternaltyro Date: Tue, 18 Jul 2023 17:57:23 +0100 Subject: [PATCH] Add worker container command --- infra/production/container.tf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/infra/production/container.tf b/infra/production/container.tf index 35c1f8bf..00085665 100644 --- a/infra/production/container.tf +++ b/infra/production/container.tf @@ -27,6 +27,8 @@ resource "azurerm_container_group" "app" { cpu = "0.5" memory = "1.5" + commands = ["celery --app API.api_worker worker --loglevel=INFO"] + ports { port = 8080 protocol = "TCP"