Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

201 configure azure infrastructure #254

Merged
merged 61 commits into from
Jul 27, 2024
Merged
Changes from all commits
Commits
Show all changes
61 commits
Select commit Hold shift + click to select a range
b2aec28
- Update project setup instructions and dependencies
mlhaufe Jul 25, 2024
324a312
Updated azure infra to trigger on workflow dispatch
mlhaufe Jul 25, 2024
38e66ea
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 25, 2024
6e695e5
chore: Update Azure infrastructure workflow to include validation ste…
mlhaufe Jul 25, 2024
794d49e
- Update Azure infrastructure workflow to use latest version of Azure…
mlhaufe Jul 25, 2024
270babd
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 25, 2024
8a4cf61
- Updated action/checkout version
mlhaufe Jul 25, 2024
985a67e
Merge branch '201-configure-azure-infrastructure' of https://github.c…
mlhaufe Jul 25, 2024
25aa326
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 25, 2024
ffcaca5
Updated azure/arm-deploy version
mlhaufe Jul 25, 2024
80b0cae
Merge branch '201-configure-azure-infrastructure' of https://github.c…
mlhaufe Jul 25, 2024
d961496
chore: Verify Resource Group existence in Azure infrastructure workflow
mlhaufe Jul 25, 2024
2d77217
- removed debug step from pipeline
mlhaufe Jul 25, 2024
e0c166f
chore: Comment out unused parameters in Azure infrastructure workflow
mlhaufe Jul 25, 2024
cb71bf6
refactor: Update Azure Bicep resource name parameter
mlhaufe Jul 25, 2024
1f39779
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 25, 2024
effe193
refactor: Update Azure Bicep resource name parameter size
mlhaufe Jul 25, 2024
d59729f
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 25, 2024
53b7ff7
deploying service plan and app service
mlhaufe Jul 25, 2024
79a37a7
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 25, 2024
d60092d
Added env variables to bicep and workflow
mlhaufe Jul 26, 2024
0f86b7c
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 26, 2024
6791c81
fixed parameters formatting
mlhaufe Jul 26, 2024
a96cba1
Merge branch '201-configure-azure-infrastructure' of https://github.c…
mlhaufe Jul 26, 2024
f3e0bbd
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 26, 2024
c9702a0
Provided compose.yml to bicep template for Azure deployment
mlhaufe Jul 26, 2024
c94789d
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 26, 2024
7de3acd
bugfixed bicep dockerComposeFileparameter
mlhaufe Jul 26, 2024
be64748
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 26, 2024
0a7c2a7
Added additional app config variables
mlhaufe Jul 26, 2024
6f2b708
Merge branch '201-configure-azure-infrastructure' of https://github.c…
mlhaufe Jul 26, 2024
4f70379
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 26, 2024
ce70732
Loading compose file directly in bicep template
mlhaufe Jul 26, 2024
951e594
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 26, 2024
846ac81
chore: Update compose.yml and compose.extend.yml for Azure deployment…
mlhaufe Jul 26, 2024
9ca221a
Removed sleep command from production web service
mlhaufe Jul 26, 2024
b933b3e
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 26, 2024
7fcc7b8
Changed the prod volume to a locally mounted volume
mlhaufe Jul 26, 2024
0c25fc9
Integrated app build/deploy into azure pipeline
mlhaufe Jul 26, 2024
76c45ea
Updated workflow dependencies. Added missing artifact to azure deploy
mlhaufe Jul 26, 2024
0d8dc69
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 26, 2024
7ee9fbc
chore: Update azure-deploy workflow to include entire output director…
mlhaufe Jul 26, 2024
fdb2ba0
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 26, 2024
a275577
Enabled logging + Added node startup command
mlhaufe Jul 26, 2024
349e811
updated node startup path
mlhaufe Jul 26, 2024
f36a48a
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 26, 2024
1d09296
chore: Add volume mapping for web server in compose.yml
mlhaufe Jul 26, 2024
60a82c6
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 26, 2024
6d460f8
chore: Update volume mapping for web server in compose.yml
mlhaufe Jul 26, 2024
8233587
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 26, 2024
360eb30
chore: Add port mapping for web server in compose.yml
mlhaufe Jul 26, 2024
b96faad
chore: Update compose.yml with environment variables for NUXT_HOST an…
mlhaufe Jul 26, 2024
00fa9be
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 26, 2024
8e4505a
- Fixed regression in local development due to config changes.
mlhaufe Jul 27, 2024
d079408
Moving from prod docker-compose to separate postgres DB
mlhaufe Jul 27, 2024
f2a5698
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 27, 2024
da79e62
Replaced docker app service with node app service
mlhaufe Jul 27, 2024
2ad160b
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 27, 2024
c33adeb
updated web appCommandLine
mlhaufe Jul 27, 2024
f0f0898
Merge branch '201-configure-azure-infrastructure' of https://github.c…
mlhaufe Jul 27, 2024
11244b9
Merge branch 'master' into 201-configure-azure-infrastructure
mlhaufe Jul 27, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 23 additions & 8 deletions azure/bicep/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -57,17 +57,10 @@ resource appService 'Microsoft.Web/sites@2023-12-01' = {
publicNetworkAccess: 'Enabled'
siteConfig: {
linuxFxVersion: 'NODE|20-lts'
appCommandLine: 'node server/index.mjs'
ftpsState: 'Disabled'
http20Enabled: true
appSettings: [
{
name: 'NUXT_HOST'
value: '0.0.0.0'
}
{
name: 'NUXT_PORT'
value: '3000'
}
{
name: 'AUTH_ORIGIN'
value: authOrigin
Expand Down Expand Up @@ -131,6 +124,28 @@ resource appConfigLogs 'config@2023-12-01' = {
}
}
}

resource appConfigWeb 'config@2023-12-01' = {
name: 'web'
properties: {
cors: {
allowedOrigins: [
'*'
]
}
ipSecurityRestrictions: [
{
ipAddress: 'Any'
action: 'Allow'
}
]
requestTracingEnabled: true
requestTracingExpirationTime: '1'
scmType: 'None'
use32BitWorkerProcess: false
webSocketsEnabled: true
}
}
}

// https://learn.microsoft.com/en-us/azure/templates/microsoft.dbforpostgresql/flexibleservers?pivots=deployment-language-bicep
Expand Down
Loading