Skip to content

Commit

Permalink
fix: ensure correct appsettings is used (#1086)
Browse files Browse the repository at this point in the history
<!--- Provide a general summary of your changes in the Title above -->

## Description

<!--- Describe your changes in detail -->

## Related Issue(s)

- #{issue number}

## Verification

- [ ] **Your** code builds clean without any errors or warnings
- [ ] Manual testing done (required)
- [ ] Relevant automated test added (if you find this hard, leave it and
we'll help out)

## Documentation

- [ ] Documentation is updated (either in `docs`-directory, Altinnpedia
or a separate linked PR in
[altinn-studio-docs.](https://github.com/Altinn/altinn-studio-docs), if
applicable)
  • Loading branch information
arealmaas authored Sep 6, 2024
1 parent 67bc73c commit d43f6d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ var containerAppEnvVars = [
secretRef: 'dbconnectionstring'
}
{
name: 'ASPNETCORE_ENVIRONMENT'
name: 'DOTNET_ENVIRONMENT'
value: environment
}
{
Expand Down
2 changes: 1 addition & 1 deletion docker-compose-jobs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
dockerfile: src/Digdir.Domain.Dialogporten.Janitor/Dockerfile
environment:
- Infrastructure:DialogDbConnectionString=${DB_CONNECTION_STRING}
- ASPNETCORE_ENVIRONMENT=Development
- DOTNET_ENVIRONMENT=Development
command: [ "sync-subject-resource-mappings" ]
depends_on:
dialogporten-postgres:
Expand Down

0 comments on commit d43f6d7

Please sign in to comment.