Skip to content

Commit

Permalink
update ports
Browse files Browse the repository at this point in the history
  • Loading branch information
iammukeshm committed Jun 9, 2024
1 parent 3961e1a commit fd44f56
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
4 changes: 2 additions & 2 deletions apps/blazor/client/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
"dotnetRunMessages": true,
"launchBrowser": true,
"inspectUri": "{wsProtocol}://{url.hostname}:{url.port}/_framework/debug/ws-proxy?browser={browserInspectUri}",
"applicationUrl": "https://localhost:7010;http://localhost:5010",
"applicationUrl": "https://localhost:7100;http://localhost:5100",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}
}
18 changes: 12 additions & 6 deletions compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ services:
- fullstackhero
environment:
- ASPNETCORE_ENVIRONMENT=docker
- ASPNETCORE_URLS=https://+:5100;http://+:5010
- ASPNETCORE_HTTPS_PORT=5100
- ASPNETCORE_URLS=https://+:7000;http://+:5000
- ASPNETCORE_HTTPS_PORT=7000
- ASPNETCORE_Kestrel__Certificates__Default__Password=password!
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/cert.pfx
- DatabaseOptions__ConnectionString=Server=postgres;Port=5433;Database=fullstackhero;User Id=pgadmin;Password=pgadmin
Expand All @@ -28,8 +28,8 @@ services:
volumes:
- ~/.aspnet/https:/https:ro
ports:
- 5100:5100
- 5010:5010
- 7000:7000
- 5000:5000
depends_on:
postgres:
condition: service_healthy
Expand All @@ -39,13 +39,19 @@ services:
pull_policy: always
container_name: blazor
environment:
- ApiBaseUrl=http://localhost:5010
- ASPNETCORE_ENVIRONMENT=docker
- ASPNETCORE_URLS=https://+:7010;http://+:5010
- ASPNETCORE_HTTPS_PORT=7010
- ASPNETCORE_Kestrel__Certificates__Default__Password=password!
- ASPNETCORE_Kestrel__Certificates__Default__Path=/https/cert.pfx
- ApiBaseUrl=https://localhost:7000
networks:
- fullstackhero
volumes:
- ~/.aspnet/https:/https:ro
ports:
- 5020:80
- 7010:7010
- 5010:5010
depends_on:
postgres:
condition: service_healthy
Expand Down

0 comments on commit fd44f56

Please sign in to comment.