-
Notifications
You must be signed in to change notification settings - Fork 10
fixing up docker issues from dev environment #109
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
"Monai.Deploy.InformaticsGateway": { | ||
"commandName": "Project", | ||
"environmentVariables": { | ||
"DOTNET_ENVIRONMENT": "Development" | ||
"DOTNET_ENVIRONMENT": "Local" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Any difference between using Local vs Development? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Just in MWM tests were/are using appsetting.development.json to read settings from (bad Idea!) so making a copy of it and using that for local development only was my solution (as my machine has services running on different ports) |
||
} | ||
} | ||
} | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
{ | ||
"ConnectionStrings": { | ||
"InformaticsGatewayDatabase": "Data Source=migdev.db" | ||
}, | ||
"InformaticsGateway": { | ||
"dicom": { | ||
"scp": { | ||
"port": 1104, | ||
"rejectUnknownSources": false | ||
} | ||
}, | ||
"messaging": { | ||
"publisherSettings": { | ||
"endpoint": "localhost", | ||
"username": "admin", | ||
"password": "admin", | ||
"port": "30072", | ||
"virtualHost": "monaideploy", | ||
"exchange": "monaideploy" | ||
}, | ||
"subscriberSettings": { | ||
"endpoint": "localhost", | ||
"username": "admin", | ||
"password": "admin", | ||
"port": "30072", | ||
"virtualHost": "monaideploy", | ||
"exchange": "monaideploy", | ||
"exportRequestQueue": "export_tasks" | ||
} | ||
}, | ||
"storage": { | ||
"temporary": "./payloads", | ||
"settings": { | ||
"endpoint": "minio:9000", | ||
"accessKey": "admin", | ||
"accessToken": "password", | ||
"securedConnection": false | ||
} | ||
} | ||
}, | ||
"Logging": { | ||
"LogLevel": { | ||
"Dicom": "Information", | ||
"Monai": "Debug", | ||
"Microsoft": "Information", | ||
"Microsoft.EntityFrameworkCore": "Warning", | ||
"Microsoft.Hosting.Lifetime": "Information", | ||
"Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker": "Information" | ||
}, | ||
"Console": { | ||
"FormatterName": "Simple", | ||
"FormatterOptions": { | ||
"ColorBehavior": "Enabled", | ||
"IncludeScopes": true, | ||
"SingleLine": false, | ||
"TimestampFormat": " HH:mm:ss ", | ||
"UseUtcTimestamp": false | ||
} | ||
} | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is mapped into the container, and that's why we don't create it in the Dockefile.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right ok, so this should be a volume mount point then.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, it's a mount point. Can we remove this so that it doesn't become a silent failure?