|
|
@ -8,13 +8,13 @@ services: |
|
|
context: ../../ |
|
|
context: ../../ |
|
|
dockerfile: services/administration/src/EShopOnAbp.AdministrationService.HttpApi.Host/Dockerfile |
|
|
dockerfile: services/administration/src/EShopOnAbp.AdministrationService.HttpApi.Host/Dockerfile |
|
|
environment: |
|
|
environment: |
|
|
- ASPNETCORE_ENVIRONMENT=Staging |
|
|
- ASPNETCORE_ENVIRONMENT=Docker |
|
|
- ASPNETCORE_URLS=https://+:443;http://+:80; |
|
|
- ASPNETCORE_URLS=https://+:443;http://+:80; |
|
|
- Kestrel__Certificates__Default__Path=/root/certificate/localhost.pfx |
|
|
- Kestrel__Certificates__Default__Path=/root/certificate/localhost.pfx |
|
|
- Kestrel__Certificates__Default__Password=8b6039b6-c67a-448b-977b-0ce6d3fcfd49 |
|
|
- Kestrel__Certificates__Default__Password=8b6039b6-c67a-448b-977b-0ce6d3fcfd49 |
|
|
- Redis__Configuration=redis |
|
|
# - Redis__Configuration=redis |
|
|
- RabbitMQ__Connections__Default__HostName=rabbitmq |
|
|
# - RabbitMQ__Connections__Default__HostName=rabbitmq |
|
|
- ConnectionStrings__AdministrationService=User ID=postgres;Password=myPassw0rd;Host=postgres-db;Port=5432;Database=EShopOnAbp_Administration;Pooling=false; |
|
|
# - ConnectionStrings__AdministrationService=User ID=postgres;Password=myPassw0rd;Host=postgres-db;Port=5432;Database=EShopOnAbp_Administration;Pooling=false; |
|
|
ports: |
|
|
ports: |
|
|
- "44353:443" |
|
|
- "44353:443" |
|
|
depends_on: |
|
|
depends_on: |
|
|
@ -36,7 +36,7 @@ services: |
|
|
context: ../../ |
|
|
context: ../../ |
|
|
dockerfile: services/identity/src/EShopOnAbp.IdentityService.HttpApi.Host/Dockerfile |
|
|
dockerfile: services/identity/src/EShopOnAbp.IdentityService.HttpApi.Host/Dockerfile |
|
|
environment: |
|
|
environment: |
|
|
- ASPNETCORE_ENVIRONMENT=Staging |
|
|
- ASPNETCORE_ENVIRONMENT=Docker |
|
|
- ASPNETCORE_URLS=https://+:443;http://+:80 |
|
|
- ASPNETCORE_URLS=https://+:443;http://+:80 |
|
|
- Kestrel__Certificates__Default__Path=/root/certificate/localhost.pfx |
|
|
- Kestrel__Certificates__Default__Path=/root/certificate/localhost.pfx |
|
|
- Kestrel__Certificates__Default__Password=8b6039b6-c67a-448b-977b-0ce6d3fcfd49 |
|
|
- Kestrel__Certificates__Default__Password=8b6039b6-c67a-448b-977b-0ce6d3fcfd49 |
|
|
@ -65,17 +65,17 @@ services: |
|
|
context: ../../ |
|
|
context: ../../ |
|
|
dockerfile: services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/Dockerfile |
|
|
dockerfile: services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/Dockerfile |
|
|
environment: |
|
|
environment: |
|
|
- ASPNETCORE_ENVIRONMENT=Staging |
|
|
- ASPNETCORE_ENVIRONMENT=Docker |
|
|
- ASPNETCORE_URLS=https://+:443;http://+:80;http://+:81; |
|
|
- ASPNETCORE_URLS=https://+:443;http://+:80;http://+:81; |
|
|
- Kestrel__Certificates__Default__Path=/root/certificate/localhost.pfx |
|
|
- Kestrel__Certificates__Default__Path=/root/certificate/localhost.pfx |
|
|
- Kestrel__Certificates__Default__Password=8b6039b6-c67a-448b-977b-0ce6d3fcfd49 |
|
|
- Kestrel__Certificates__Default__Password=8b6039b6-c67a-448b-977b-0ce6d3fcfd49 |
|
|
- Kestrel__EndPoints__Http__Url=http://docker.host.internal:80 |
|
|
- Kestrel__EndPoints__Http__Url=http://docker.host.internal:80 |
|
|
- Kestrel__EndPoints__Https__Url=https://docker.host.internal:443 |
|
|
- Kestrel__EndPoints__Https__Url=https://docker.host.internal:443 |
|
|
- Kestrel__EndPoints__gRPC__Url=http://docker.host.internal:81 |
|
|
- Kestrel__EndPoints__gRPC__Url=http://docker.host.internal:81 |
|
|
- Redis__Configuration=redis |
|
|
# - Redis__Configuration=redis |
|
|
- RabbitMQ__Connections__Default__HostName=rabbitmq |
|
|
# - RabbitMQ__Connections__Default__HostName=rabbitmq |
|
|
- ConnectionStrings__CatalogService=mongodb://mongodb/EShopOnAbp_Catalog |
|
|
# - ConnectionStrings__CatalogService=mongodb://mongodb/EShopOnAbp_Catalog |
|
|
- ConnectionStrings__AdministrationService=User ID=postgres;Password=myPassw0rd;Host=postgres-db;Port=5432;Database=EShopOnAbp_Administration;Pooling=false; |
|
|
# - ConnectionStrings__AdministrationService=User ID=postgres;Password=myPassw0rd;Host=postgres-db;Port=5432;Database=EShopOnAbp_Administration;Pooling=false; |
|
|
ports: |
|
|
ports: |
|
|
- "44354:443" |
|
|
- "44354:443" |
|
|
- "5000:80" |
|
|
- "5000:80" |
|
|
@ -99,15 +99,15 @@ services: |
|
|
context: ../../ |
|
|
context: ../../ |
|
|
dockerfile: services/basket/src/EShopOnAbp.BasketService.HttpApi.Host/Dockerfile |
|
|
dockerfile: services/basket/src/EShopOnAbp.BasketService.HttpApi.Host/Dockerfile |
|
|
environment: |
|
|
environment: |
|
|
- ASPNETCORE_ENVIRONMENT=Staging |
|
|
- ASPNETCORE_ENVIRONMENT=Docker |
|
|
- ASPNETCORE_URLS=https://+:443;http://+:80; |
|
|
- ASPNETCORE_URLS=https://+:443;http://+:80; |
|
|
- Kestrel__Certificates__Default__Path=/root/certificate/localhost.pfx |
|
|
- Kestrel__Certificates__Default__Path=/root/certificate/localhost.pfx |
|
|
- Kestrel__Certificates__Default__Password=8b6039b6-c67a-448b-977b-0ce6d3fcfd49 |
|
|
- Kestrel__Certificates__Default__Password=8b6039b6-c67a-448b-977b-0ce6d3fcfd49 |
|
|
- Redis__Configuration=redis |
|
|
# - Redis__Configuration=redis |
|
|
- RabbitMQ__Connections__Default__HostName=rabbitmq |
|
|
# - RabbitMQ__Connections__Default__HostName=rabbitmq |
|
|
- RemoteServices__Catalog__BaseUrl=https://catalog-service |
|
|
# - RemoteServices__Catalog__BaseUrl=https://catalog-service |
|
|
- RemoteServices__Catalog__GrpcUrl=http://catalog-service |
|
|
# - RemoteServices__Catalog__GrpcUrl=http://catalog-service |
|
|
- ConnectionStrings__AdministrationService=User ID=postgres;Password=myPassw0rd;Host=postgres-db;Port=5432;Database=EShopOnAbp_Administration;Pooling=false; |
|
|
# - ConnectionStrings__AdministrationService=User ID=postgres;Password=myPassw0rd;Host=postgres-db;Port=5432;Database=EShopOnAbp_Administration;Pooling=false; |
|
|
ports: |
|
|
ports: |
|
|
- "44355:443" |
|
|
- "44355:443" |
|
|
depends_on: |
|
|
depends_on: |
|
|
@ -129,7 +129,7 @@ services: |
|
|
context: ../../ |
|
|
context: ../../ |
|
|
dockerfile: services/ordering/src/EShopOnAbp.OrderingService.HttpApi.Host/Dockerfile |
|
|
dockerfile: services/ordering/src/EShopOnAbp.OrderingService.HttpApi.Host/Dockerfile |
|
|
environment: |
|
|
environment: |
|
|
- ASPNETCORE_ENVIRONMENT=Staging |
|
|
- ASPNETCORE_ENVIRONMENT=Docker |
|
|
- ASPNETCORE_URLS=https://+:443;http://+:80; |
|
|
- ASPNETCORE_URLS=https://+:443;http://+:80; |
|
|
- Kestrel__Certificates__Default__Path=/root/certificate/localhost.pfx |
|
|
- Kestrel__Certificates__Default__Path=/root/certificate/localhost.pfx |
|
|
- Kestrel__Certificates__Default__Password=8b6039b6-c67a-448b-977b-0ce6d3fcfd49 |
|
|
- Kestrel__Certificates__Default__Password=8b6039b6-c67a-448b-977b-0ce6d3fcfd49 |
|
|
@ -158,7 +158,7 @@ services: |
|
|
context: ../../ |
|
|
context: ../../ |
|
|
dockerfile: services/payment/src/EShopOnAbp.PaymentService.HttpApi.Host/Dockerfile |
|
|
dockerfile: services/payment/src/EShopOnAbp.PaymentService.HttpApi.Host/Dockerfile |
|
|
environment: |
|
|
environment: |
|
|
- ASPNETCORE_ENVIRONMENT=Staging |
|
|
- ASPNETCORE_ENVIRONMENT=Docker |
|
|
- ASPNETCORE_URLS=https://+:443;http://+:80; |
|
|
- ASPNETCORE_URLS=https://+:443;http://+:80; |
|
|
- Kestrel__Certificates__Default__Path=/root/certificate/localhost.pfx |
|
|
- Kestrel__Certificates__Default__Path=/root/certificate/localhost.pfx |
|
|
- Kestrel__Certificates__Default__Password=8b6039b6-c67a-448b-977b-0ce6d3fcfd49 |
|
|
- Kestrel__Certificates__Default__Password=8b6039b6-c67a-448b-977b-0ce6d3fcfd49 |
|
|
@ -211,22 +211,22 @@ services: |
|
|
context: ../../ |
|
|
context: ../../ |
|
|
dockerfile: apps/auth-server/src/EShopOnAbp.AuthServer/Dockerfile |
|
|
dockerfile: apps/auth-server/src/EShopOnAbp.AuthServer/Dockerfile |
|
|
environment: |
|
|
environment: |
|
|
- ASPNETCORE_ENVIRONMENT=Development |
|
|
- ASPNETCORE_ENVIRONMENT=Docker |
|
|
- ASPNETCORE_URLS=https://+:443;http://+:80; |
|
|
- ASPNETCORE_URLS=https://+:443;http://+:80; |
|
|
|
|
|
- ASPNETCORE_HTTPS_PORT=44330 |
|
|
- Kestrel__Certificates__Default__Path=/root/certificate/localhost.pfx |
|
|
- Kestrel__Certificates__Default__Path=/root/certificate/localhost.pfx |
|
|
- Kestrel__Certificates__Default__Password=8b6039b6-c67a-448b-977b-0ce6d3fcfd49 |
|
|
- Kestrel__Certificates__Default__Password=8b6039b6-c67a-448b-977b-0ce6d3fcfd49 |
|
|
- Redis__Configuration=redis |
|
|
# - Redis__Configuration=redis |
|
|
- RabbitMQ__Connections__Default__HostName=rabbitmq |
|
|
# - RabbitMQ__Connections__Default__HostName=rabbitmq |
|
|
- App__SelfUrl=https://app-authserver |
|
|
# - App__SelfUrl=https://app-authserver |
|
|
- App__CorsOrigins=http://app-web,https://identity-service,https://administration-service,https://catalog-service,https://basket-service,https://ordering-service,https://payment-service |
|
|
# - App__CorsOrigins=http://app-web,https://identity-service,https://administration-service,https://catalog-service,https://basket-service,https://ordering-service,https://payment-service |
|
|
- App__RedirectAllowedUrls=http://app-web |
|
|
# - App__RedirectAllowedUrls=http://app-web |
|
|
- AuthServer__Authority=http://app-authserver |
|
|
- AuthServer__Authority=https://app-authserver |
|
|
- AuthServer__RequireHttpsMetadata=false |
|
|
- AuthServer__RequireHttpsMetadata=true |
|
|
- ConnectionStrings__IdentityService=User ID=postgres;Password=myPassw0rd;Host=postgres-db;Port=5432;Database=EShopOnAbp_Identity;Pooling=false; |
|
|
# - ConnectionStrings__IdentityService=User ID=postgres;Password=myPassw0rd;Host=postgres-db;Port=5432;Database=EShopOnAbp_Identity;Pooling=false; |
|
|
- ConnectionStrings__AdministrationService=User ID=postgres;Password=myPassw0rd;Host=postgres-db;Port=5432;Database=EShopOnAbp_Administration;Pooling=false; |
|
|
# - ConnectionStrings__AdministrationService=User ID=postgres;Password=myPassw0rd;Host=postgres-db;Port=5432;Database=EShopOnAbp_Administration;Pooling=false; |
|
|
ports: |
|
|
ports: |
|
|
- "44330:443" |
|
|
- "44330:443" |
|
|
- "5001:80" |
|
|
|
|
|
depends_on: |
|
|
depends_on: |
|
|
redis: |
|
|
redis: |
|
|
condition: service_healthy |
|
|
condition: service_healthy |
|
|
@ -246,17 +246,17 @@ services: |
|
|
context: ../../ |
|
|
context: ../../ |
|
|
dockerfile: apps/public-web/src/EShopOnAbp.PublicWeb/Dockerfile |
|
|
dockerfile: apps/public-web/src/EShopOnAbp.PublicWeb/Dockerfile |
|
|
environment: |
|
|
environment: |
|
|
- ASPNETCORE_ENVIRONMENT=Staging |
|
|
- ASPNETCORE_ENVIRONMENT=Docker |
|
|
- ASPNETCORE_URLS=https://+:443;http://+:80; |
|
|
- ASPNETCORE_URLS=https://+:443;http://+:80; |
|
|
- Kestrel__Certificates__Default__Path=/root/certificate/localhost.pfx |
|
|
- Kestrel__Certificates__Default__Path=/root/certificate/localhost.pfx |
|
|
- Kestrel__Certificates__Default__Password=8b6039b6-c67a-448b-977b-0ce6d3fcfd49 |
|
|
- Kestrel__Certificates__Default__Password=8b6039b6-c67a-448b-977b-0ce6d3fcfd49 |
|
|
- Redis__Configuration=redis |
|
|
# - Redis__Configuration=redis |
|
|
- RabbitMQ__Connections__Default__HostName=rabbitmq |
|
|
# - RabbitMQ__Connections__Default__HostName=rabbitmq |
|
|
- App__SelfUrl=https://app-publicweb |
|
|
# - App__SelfUrl=https://app-publicweb |
|
|
- AuthServer__Authority=http://app-authserver |
|
|
- AuthServer__Authority=https://app-authserver |
|
|
- AuthServer__RequireHttpsMetadata=false |
|
|
- AuthServer__RequireHttpsMetadata=true |
|
|
- RemoteServices__Default__BaseUrl=http://gateway-web-public |
|
|
# - RemoteServices__Default__BaseUrl=http://gateway-web-public |
|
|
- ReverseProxy__Clusters__cluster1__Destinations__destination1__Address=http://gateway-web-public |
|
|
# - ReverseProxy__Clusters__cluster1__Destinations__destination1__Address=http://gateway-web-public |
|
|
ports: |
|
|
ports: |
|
|
- "44335:443" |
|
|
- "44335:443" |
|
|
depends_on: |
|
|
depends_on: |
|
|
@ -276,7 +276,7 @@ services: |
|
|
context: ../../ |
|
|
context: ../../ |
|
|
dockerfile: gateways/web/src/EShopOnAbp.WebGateway/Dockerfile |
|
|
dockerfile: gateways/web/src/EShopOnAbp.WebGateway/Dockerfile |
|
|
environment: |
|
|
environment: |
|
|
- ASPNETCORE_ENVIRONMENT=Staging |
|
|
- ASPNETCORE_ENVIRONMENT=Docker # Yarp can't resolve dns, needs to be overridden |
|
|
- ASPNETCORE_URLS=https://+:443;http://+:80; |
|
|
- ASPNETCORE_URLS=https://+:443;http://+:80; |
|
|
- Kestrel__Certificates__Default__Path=/root/certificate/localhost.pfx |
|
|
- Kestrel__Certificates__Default__Path=/root/certificate/localhost.pfx |
|
|
- Kestrel__Certificates__Default__Password=8b6039b6-c67a-448b-977b-0ce6d3fcfd49 |
|
|
- Kestrel__Certificates__Default__Password=8b6039b6-c67a-448b-977b-0ce6d3fcfd49 |
|
|
@ -308,7 +308,7 @@ services: |
|
|
context: ../../ |
|
|
context: ../../ |
|
|
dockerfile: gateways/web-public/src/EShopOnAbp.WebPublicGateway/Dockerfile |
|
|
dockerfile: gateways/web-public/src/EShopOnAbp.WebPublicGateway/Dockerfile |
|
|
environment: |
|
|
environment: |
|
|
- ASPNETCORE_ENVIRONMENT=Staging #Or use Docker ASPNETCORE_ENVIRONMENT and remove env override - decide |
|
|
- ASPNETCORE_ENVIRONMENT=Docker # Yarp can't resolve dns, needs to be overridden |
|
|
- ASPNETCORE_URLS=https://+:443;http://+:80; |
|
|
- ASPNETCORE_URLS=https://+:443;http://+:80; |
|
|
- Kestrel__Certificates__Default__Path=/root/certificate/localhost.pfx |
|
|
- Kestrel__Certificates__Default__Path=/root/certificate/localhost.pfx |
|
|
- Kestrel__Certificates__Default__Password=8b6039b6-c67a-448b-977b-0ce6d3fcfd49 |
|
|
- Kestrel__Certificates__Default__Password=8b6039b6-c67a-448b-977b-0ce6d3fcfd49 |
|
|
|