aspnetrun/run-aspnetcore-microservices

Ordering Health Check fails on ARM64

odidev opened this issue · 6 comments

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?

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.

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.

Gentle reminder to respond to above query.

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.

Hi @mehmetozkaya

Gentle reminder to respond to above query.

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,