aspnetrun / run-aspnetcore-microservices

Microservices on .Net platforms which used ASP.NET Web API, Docker, RabbitMQ, MassTransit, Grpc, Yarp API Gateway, PostgreSQL, Redis, SQLite, SqlServer, Marten, Entity Framework Core, CQRS, MediatR, DDD, Vertical and Clean Architecture implementation with using latest features of .NET 8 and C# 12
https://www.udemy.com/course/microservices-architecture-and-implementation-on-dotnet/?couponCode=JUNE24
MIT License
2.53k stars 1.38k forks source link

Ordering Health Check fails on ARM64 #72

Open odidev opened 1 year ago

odidev commented 1 year ago

Hi @mehmetozkaya,

I have tried to deploy run-aspnetcore-microservices on ARM64 using docker-compose. In docker-compose.yml file, there is one service named OrderDB which is using mcr.microsoft.com/mssql/server:2017-latest docker image. This image is not present for ARM64. I have commented regarding the release of the image. In that comment, an user suggested to use azure-sql-edge docker image instead of mcr.microsoft.com/mssql/server:2017-latest. After replacing it with azure-sql-edge all the health-checks are working fine.

Can you please share your opinion on the above change?

mehmetozkaya commented 1 year ago

Hi @odidev, Yes I used SQL Server image which is amd64 architecture and ubuntu-based image. This is standard image for sql server on docker hub -> https://hub.docker.com/_/microsoft-mssql-server I am surprised to run this repo on ARM64 architecture. But your recommendation of azure-sql-edge database designed for IoT applications. It could be used and solve our microservices project requirement due to relational-based db, but I think Azure SQL DB also solve the ARM64 problem which is more suitable for this repository.

odidev commented 1 year ago

Hi @mehmetozkaya,

To make this compatible for ARM64 platform, can we change mcr.microsoft.com/mssql/server:2017-latest docker image to azure-sql-edge.

If yes, let me know if I can raise PR for the same.

odidev commented 1 year ago

Gentle reminder to respond to above query.

odidev commented 1 year ago

Hi @mehmetozkaya,

Gentle reminder !!!

Can you please suggest if we can change mcr.microsoft.com/mssql/server:2017-latest docker image to azure-sql-edge, as mcr.microsoft.com/mssql/server:2017-latest is not available for Arm64.

odidev commented 11 months ago

Hi @mehmetozkaya

Gentle reminder to respond to above query.

tutul2010 commented 7 months ago

Hi @odidev, As @mehmetozkaya advised to use 'mcr.microsoft.com/mssql/server:2017-latest' docker images for microservices project requirement due to relational-based db or you can also use Azure SQL DB. I resolved order.api db issue by replacing a data base of azure sql basic services

Thanks,