diff --git a/etc/docker/docker-compose.yml b/etc/docker/docker-compose.yml index 9b4aa284..769b0e49 100644 --- a/etc/docker/docker-compose.yml +++ b/etc/docker/docker-compose.yml @@ -69,10 +69,10 @@ services: - AuthServer__Authority=http://eshop-st-authserver - AuthServer__RequireHttpsMetadata=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; - Redis__Configuration=redis - RabbitMQ__Connections__Default__HostName=rabbitmq - - IdentityServerClients__Web__RootUrl=http://localhost:4200 + - IdentityServerClients__Web__RootUrl=https://eshop-st-web - IdentityServerClients__PublicWeb__RootUrl=https://eshop-st-public-web - IdentityServerClients__WebGateway__RootUrl=https://localhost:44372 - IdentityServerClients__PublicWebGateway__RootUrl=https://eshop-st-gateway-web-public @@ -251,7 +251,7 @@ services: condition: service_healthy rabbitmq: condition: service_healthy - restart: on-failure + restart: on-failure networks: - eshoponabp-network eshop-st-public-web: diff --git a/etc/docker/nginx/dynamic-env.json b/etc/docker/nginx/dynamic-env.json index fd380d32..c9127782 100644 --- a/etc/docker/nginx/dynamic-env.json +++ b/etc/docker/nginx/dynamic-env.json @@ -9,8 +9,11 @@ "issuer": "https://eshop-st-authserver", "redirectUri": "https://eshop-st-web", "clientId": "Web", - "responseType": "password", - "scope": "offline_access openid profile email phone AccountService IdentityService AdministrationService CatalogService OrderingService" + "responseType": "code", + "scope": "offline_access openid profile email phone AccountService IdentityService AdministrationService CatalogService OrderingService", + "strictDiscoveryDocumentValidation": false, + "skipIssuerCheck": true, + "requireHttps": false }, "apis": { "default": {