Added the arm64 docker-compose on the solution

pull/143/head
joseasync 2022-06-11 19:26:20 +01:00
parent 0e0c708c03
commit fbe40bca3e
3 changed files with 59 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -14,5 +14,6 @@
</None>
<None Include="docker-compose.yml" />
<None Include=".dockerignore" />
<None Include="docker-compose.arm64.yml" />
</ItemGroup>
</Project>