Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

ASP.NET Core 6.0 - Load Balancing with Nginx | Traefik | Caddy - Alpine - Docker

License

NotificationsYou must be signed in to change notification settings

giansalex/aspnetcore-load-balancing

Repository files navigation

Deploy an ASP.NET Core application with HTTPS & Load balancing using Docker.

Nginx

UsingNginx web server.

docker-nginx

To get started:

git clone https://github.com/giansalex/aspnetcore-load-balancing.gitcd aspnetcore-load-balancingdocker-compose builddocker-compose up -d --scale core-app=4 --no-recreate

IMPORTANT: Due to NGINX (Free version) limiations, current configuration is set to work with a fixed scale of 4 nodes.With NGINX Plus, additional changes might be applied to scale up and down dynamically.

Traefik

UsingTraefik Edge Router.

git clone https://github.com/giansalex/aspnetcore-load-balancing.gitcd aspnetcore-load-balancingdocker-compose -f docker-compose.traefik.yml builddocker-compose -f docker-compose.traefik.yml up -d --scale core-app=4

Caddy

UsingCaddy Server web server.

git clone https://github.com/giansalex/aspnetcore-load-balancing.gitcd aspnetcore-load-balancingdocker-compose -f docker-compose.caddy.yml builddocker-compose -f docker-compose.caddy.yml up -d --scale core-app=4 --no-recreate

Browser

Navigate tohttps://localhost

app-on-browser

About

ASP.NET Core 6.0 - Load Balancing with Nginx | Traefik | Caddy - Alpine - Docker

Topics

Resources

License

Stars

Watchers

Forks


[8]ページ先頭

©2009-2025 Movatter.jp