This is a Docker windows setup to run a simple api with ASP NET Core, Web Deploy and IIS.
- Amazon Web Service, for hosting, scaling, and managing deployments of containerized application.
- Cloud Formation, for managing Infrastucture As a Code of AWS resources.
- Docker, for building a production-ready environment of windows machines.
- NGINX, for assemblying a NGINX configuration file (nginx.conf).
1 - Build Casino Api Dockerfile
$ ./build.ps1
2 - Run Casino Web Api
$ ./run.ps1
3 - Build NGINX Dockerfile
$ cd nginx
$ ./build-nginx.ps1
4 - Run NGINX container
$ ./run-nginx.ps1
5 - Open a browser
http://localhost:8080/api/players
$ http://localhost:8080/api/games
- This structure was tested on a windows server 2019 machine.
- CloudFormation is optional, but testable running create.sh <configuration.yaml> <parameter.json>