Sign inSign up

aminueza/nginx

By aminueza

•Updated about 7 years ago

Image
0

86

aminueza/nginx repository overview

⁠Casino-API⁠

⁠NGINX 1.17.1 running under Windows as requirement to run Casino-API⁠

⁠Introduction

This is a Docker⁠ windows setup to run a simple api with ASP NET Core⁠, Web Deploy⁠ and IIS⁠.

⁠Technologies

  • 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).

⁠How to run

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

⁠Tests

  • This structure was tested on a windows server 2019 machine.

Tag summary

Content type

Image

Digest

Size

2 GB

Last updated

about 7 years ago

docker pull aminueza/nginx:v1.0.0