I have a question, is there possibility to turn on/of and configure WebAPI security during deployment (aka via docker-compose.yml)?
Here is the use case:
We have in our project 2 types of environments:
- PROD/TEST environment - which have to be configured to work with security (Authorization with Active Directory.
2.Development environment which we do not need to have a security on.
The main question: is there any way that we wouldn’t have to recompile WebAPI separatelly for each type of environment? I mean will have just separate docker-compose.yml for each environment and reuse same docker image?