version: '3.4' services: db: image: "mcr.microsoft.com/mssql/server:2019-latest" environment: - ACCEPT_EULA=Y - SA_PASSWORD=RPSsql12345 birdmap.api: image: ${DOCKER_REGISTRY-}birdmapapi ports: - "8000:80" - "8001:443" volumes: - ${APPDATA}/Microsoft/UserSecrets:/root/.microsoft/usersecrets:ro - ${APPDATA}/ASP.NET/Https:/root/.aspnet/https:ro build: context: . dockerfile: Dockerfile depends_on: - db environment: - ASPNETCORE_ENVIRONMENT=Docker - ASPNETCORE_URLS=https://+;http://+ - ASPNETCORE_HTTPS_PORT=8001 - Birdmap_Kestrel__Certificates__Default__Password=certpass123 - Birdmap_Kestrel__Certificates__Default__Path=/root/.aspnet/https/aspnetapp.pfx - Birdmap_Secret=7gz;]=bQe}n#3~RwC+Y