From fbe40bca3e35e7acdf4de6333121be6a577dc137 Mon Sep 17 00:00:00 2001 From: joseasync Date: Sat, 11 Jun 2022 19:26:20 +0100 Subject: [PATCH] Added the arm64 docker-compose on the solution --- README.md | 5 ++++ docker-compose.arm64.yml | 53 ++++++++++++++++++++++++++++++++++++++++ docker-compose.dcproj | 1 + 3 files changed, 59 insertions(+) create mode 100644 docker-compose.arm64.yml diff --git a/README.md b/README.md index 6b364bb..5b08038 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,11 @@ The easiest way to get started is to build and run the .NET Podcasts app service docker-compose up ``` +- *For Apple arm64-based system*: +```cli +docker-compose -f docker-compose.arm64.yml -f docker-compose.override.yml up +``` + This will deploy and start all services required to run the web, mobile, and desktop apps. The Web API will run on `localhost:5000` and the SignalR Hub for listen together will run on `localhost:5001`. ### Web, Mobile, & Desktop diff --git a/docker-compose.arm64.yml b/docker-compose.arm64.yml new file mode 100644 index 0000000..36c74bf --- /dev/null +++ b/docker-compose.arm64.yml @@ -0,0 +1,53 @@ +version: '3.4' + +services: + + podcast.api: + image: ${DOCKER_REGISTRY-}podcastapi + build: + context: . + dockerfile: src/Services/Podcasts/Podcast.API/Dockerfile + depends_on: + - podcast.db + - storage + + podcast.updater.worker: + image: ${DOCKER_REGISTRY-}podcastupdaterworker + build: + context: . + dockerfile: src/Services/Podcasts/Podcast.Updater.Worker/Dockerfile + depends_on: + - podcast.db + - podcast.api + - storage + + podcast.db: + image: mcr.microsoft.com/azure-sql-edge + + listentogether.hub: + image: ${DOCKER_REGISTRY-}listentogetherhub + build: + context: . + dockerfile: src/Services/ListenTogether/ListenTogether.Hub/Dockerfile + depends_on: + - podcast.api + + podcast.ingestion.worker: + image: ${DOCKER_REGISTRY-}podcastingestionworker + build: + context: . + dockerfile: src/Services/Podcasts/Podcast.Ingestion.Worker/Dockerfile + depends_on: + - podcast.db + - storage + + podcast.web: + image: ${DOCKER_REGISTRY-}podcastweb + build: + context: . + dockerfile: src/Web/Server/Dockerfile + depends_on: + - podcast.api + + storage: + image: mcr.microsoft.com/azure-storage/azurite:latest \ No newline at end of file diff --git a/docker-compose.dcproj b/docker-compose.dcproj index d5c0c58..c6fb1b9 100644 --- a/docker-compose.dcproj +++ b/docker-compose.dcproj @@ -14,5 +14,6 @@ + \ No newline at end of file