Pamela Fox
commited on
Commit
·
cc1157d
1
Parent(s):
dd1d3f7
Update startup script
Browse files- infra/resources.bicep +2 -2
infra/resources.bicep
CHANGED
@@ -92,7 +92,7 @@ resource web 'Microsoft.Web/sites@2022-03-01' = {
|
|
92 |
alwaysOn: true
|
93 |
linuxFxVersion: 'PYTHON|3.10'
|
94 |
ftpsState: 'Disabled'
|
95 |
-
appCommandLine: 'python manage.py migrate'
|
96 |
}
|
97 |
httpsOnly: true
|
98 |
}
|
@@ -187,7 +187,7 @@ resource postgresServer 'Microsoft.DBforPostgreSQL/flexibleServers@2022-01-20-pr
|
|
187 |
administratorLoginPassword: databasePassword
|
188 |
availabilityZone: '1'
|
189 |
storage: {
|
190 |
-
storageSizeGB:
|
191 |
}
|
192 |
backup: {
|
193 |
backupRetentionDays: 7
|
|
|
92 |
alwaysOn: true
|
93 |
linuxFxVersion: 'PYTHON|3.10'
|
94 |
ftpsState: 'Disabled'
|
95 |
+
appCommandLine: 'python manage.py migrate && gunicorn --workers 2 --threads 4 --timeout 60 --access-logfile \'-\' --error-logfile \'-\' --bind=0.0.0.0:8000 --chdir=/home/site/wwwroot quizsite.wsgi'
|
96 |
}
|
97 |
httpsOnly: true
|
98 |
}
|
|
|
187 |
administratorLoginPassword: databasePassword
|
188 |
availabilityZone: '1'
|
189 |
storage: {
|
190 |
+
storageSizeGB: 32
|
191 |
}
|
192 |
backup: {
|
193 |
backupRetentionDays: 7
|