Add appsettings.Production.json for builds
This commit is contained in:
31
backend/appsettings.Production.json
Normal file
31
backend/appsettings.Production.json
Normal file
@@ -0,0 +1,31 @@
|
|||||||
|
{
|
||||||
|
"Logging": {
|
||||||
|
"LogLevel": {
|
||||||
|
"Default": "Information",
|
||||||
|
"Microsoft.AspNetCore": "Warning"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"AllowedHosts": "*",
|
||||||
|
"AllowedOrigins": [
|
||||||
|
"http://localhost:3000"
|
||||||
|
],
|
||||||
|
"Kestrel": {
|
||||||
|
"Endpoints": {
|
||||||
|
"Http": {
|
||||||
|
"Url": "http://*:5000"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"NswFuelApiConfig": {
|
||||||
|
"BaseUrl": "https://api.onegov.nsw.gov.au",
|
||||||
|
"ApiKey": "1MYSRAx5yvqHUZc6VGtxix6oMA2qgfRT",
|
||||||
|
"ApiSecret": "BMvWacw15Et8uFGF",
|
||||||
|
"AuthorisationHeader": "MU1ZU1JBeDV5dnFIVVpjNlZHdHhpeDZvTUEycWdmUlQ6Qk12V2FjdzE1RXQ4dUZHRg=="
|
||||||
|
},
|
||||||
|
"SuburbBoundaryApiConfig": {
|
||||||
|
"Url": "https://data.gov.au/geoserver/nsw-suburb-locality-boundaries-psma-administrative-boundaries/wfs?request=GetFeature&typeName=ckan_91e70237_d9d1_4719_a82f_e71b811154c6&outputFormat=json"
|
||||||
|
},
|
||||||
|
"TimescaleDbConfig": {
|
||||||
|
"ConnectionString": "User ID=postgres;Password=password;Host=timescaledb-prod;Port=5432;Database=postgres;"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user