Skip to content

Open-source eCommerce platform for C# and ASP.NET Core 10 with MongoDB. Build multi-store shops and multi-vendor marketplaces with B2B/B2C, REST API, plugins, Vue 3 and Docker.

Update docker compose

KrzysztofPajak5b3eaa4ed40b
diff --git a/docker-compose.yml b/docker-compose.yml
index 7a7b945f8..dbbd54fa5 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -3,6 +3,20 @@ version: '3.4'
services:
grand.web:
image: ${DOCKER_REGISTRY-}grandnode/grandnode2:latest
+ ports:
+ - 80
+ - 443
+ environment:
+ - ASPNETCORE_ENVIRONMENT=Development
+ - ASPNETCORE_URLS=https://+:443;http://+:80
+ - ASPNETCORE_Kestrel__Certificates__Default__Password=a2091e37-94a0-4446-8a5d-1d5c0835333a
+ - ASPNETCORE_Kestrel__Certificates__Default__Path=/https/aspnetapp.pfx
+ volumes:
+ - ~/.aspnet/https:/https:ro
build:
context: .
- dockerfile: Dockerfile
\ No newline at end of file
+ dockerfile: Dockerfile
+ depends_on:
+ - "db"
+ db:
+ image: mongo