https://github.com/danielm/dotnet-api-experiments-with-docker
Playing with Dotnet 6, docker, microservices and all that stuff
https://github.com/danielm/dotnet-api-experiments-with-docker
Last synced: 3 months ago
JSON representation
Playing with Dotnet 6, docker, microservices and all that stuff
- Host: GitHub
- URL: https://github.com/danielm/dotnet-api-experiments-with-docker
- Owner: danielm
- License: gpl-3.0
- Created: 2022-08-17T01:13:00.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-08-17T01:15:25.000Z (almost 4 years ago)
- Last Synced: 2025-01-28T02:22:27.927Z (over 1 year ago)
- Language: C#
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Recipes
Just a an on-going project to play with during a .NET 6 course
## Runing the API
```
$ cd Recipes.API
$ dotnet run
```
- Open: https://localhost:7040/swagger/index.html
- Or: https://localhost:7040/WeatherForecast
## Using docker
```
$ docker-compose build
$ docker-compose up
```
Docker makes the app run as Production, so:
- https redirection is borked without configuring actual certificates (you probably want something like a nginx reverse proxy for this anyway also)
- Swagger endpoint ovbiously does not workg in production xD