From f3c7fb8853de96234d40be55fc6041d930847d86 Mon Sep 17 00:00:00 2001 From: Noah Spannbauer Date: Mon, 29 Dec 2025 22:36:46 -0600 Subject: [PATCH] updating docker compose --- Dockerfile | 4 ++-- api/README.md | 2 +- infrastructure/container_app.tf | 7 +++---- infrastructure/container_app_environment_storage.tf | 2 +- 4 files changed, 7 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index 983faf8..42c4839 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,5 +14,5 @@ RUN chmod +x ./app/entrypoint.sh EXPOSE 3000 -CMD ["./app/entrypoint.sh"] -# ENTRYPOINT ["tail", "-f", "/dev/null"] \ No newline at end of file +# CMD ["./app/entrypoint.sh"] +ENTRYPOINT ["tail", "-f", "/dev/null"] \ No newline at end of file diff --git a/api/README.md b/api/README.md index 61e7716..a7caafe 100644 --- a/api/README.md +++ b/api/README.md @@ -1,3 +1,3 @@ # Flying API -An API for the Flying app. blah \ No newline at end of file +An API for the Flying app. \ No newline at end of file diff --git a/infrastructure/container_app.tf b/infrastructure/container_app.tf index 8c7e2d2..e8c3f30 100644 --- a/infrastructure/container_app.tf +++ b/infrastructure/container_app.tf @@ -18,12 +18,12 @@ resource "azurerm_container_app" "container_app" { volume_mounts { name = "data" path = "/mnt/data" - sub_path = "data" } volume_mounts { name = "backup" path = "/mnt/data/backup" + sub_path = "data" } volume_mounts { @@ -43,12 +43,12 @@ resource "azurerm_container_app" "container_app" { volume_mounts { name = "data" path = "/mnt/data" - sub_path = "data" } volume_mounts { name = "backup" path = "/mnt/data/backup" + sub_path = "data" } volume_mounts { @@ -60,7 +60,7 @@ resource "azurerm_container_app" "container_app" { container { cpu = 0.25 - image = "noahspan/flying:20586783321" + image = "noahspan/flying:20588458616" memory = "0.5Gi" name = "flying" @@ -131,7 +131,6 @@ resource "azurerm_container_app" "container_app" { volume_mounts { name = "data" path = "/mnt/data" - sub_path = "data" } } diff --git a/infrastructure/container_app_environment_storage.tf b/infrastructure/container_app_environment_storage.tf index 63d8727..90aebc9 100644 --- a/infrastructure/container_app_environment_storage.tf +++ b/infrastructure/container_app_environment_storage.tf @@ -4,5 +4,5 @@ resource "azurerm_container_app_environment_storage" "container_app_environment_ account_name = azurerm_storage_account.storage_account.name share_name = azurerm_storage_share.storage_share[0].name access_key = azurerm_storage_account.storage_account.primary_access_key - access_mode = "ReadOnly" + access_mode = "ReadWrite" } \ No newline at end of file