We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d08291 commit d6453ccCopy full SHA for d6453cc
infra/resources.bicep
@@ -106,10 +106,7 @@ resource web 'Microsoft.Web/sites@2022-03-01' = {
106
name: 'appsettings'
107
properties: {
108
SCM_DO_BUILD_DURING_DEPLOYMENT: 'true'
109
- DBHOST: postgresServer.name
110
- DBNAME: flaskDatabase.name
111
- DBUSER: postgresServer.properties.administratorLogin
112
- DBPASS: databasePassword
+ AZURE_POSTGRESQL_CONNECTIONSTRING: 'dbname=${flaskDatabase.name} host=${postgresServer.name}.postgres.database.azure.com port=5432 sslmode=require user=${postgresServer.properties.administratorLogin} password=${databasePassword}'
113
SECRET_KEY: secretKey
114
FLASK_DEBUG: 'False'
115
}
0 commit comments