Skip to content

Commit

Permalink
[#IOPID-2284] changed startup command only for staging
Browse files Browse the repository at this point in the history
  • Loading branch information
arcogabbo committed Sep 26, 2024
1 parent e5aaf3a commit d690e38
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions src/domains/citizen-auth-app/08_session_manager.tf
Original file line number Diff line number Diff line change
Expand Up @@ -283,9 +283,13 @@ module "session_manager_weu_staging" {
resource_group_name = azurerm_resource_group.session_manager_rg_weu.name
location = var.location

always_on = true
node_version = "20-lts"
app_command_line = ""
always_on = true
node_version = "20-lts"
# NOTE:
# 1. index.js file is generated from the deploy pipeline
# 2. the linux container for app services already has pm2 installed
# (refer to https://learn.microsoft.com/en-us/azure/app-service/configure-language-nodejs?pivots=platform-linux#run-with-pm2)
app_command_line = "pm2 start index.js --no-daemon"
health_check_path = "/healthcheck"

auto_heal_enabled = true
Expand Down

0 comments on commit d690e38

Please sign in to comment.