Skip to content

Commit 8417df7

Browse files
committed
Update port explanations.
1 parent 3aba556 commit 8417df7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ There are a few shortcut keys available when using the console.
191191

192192
## Port Configuration
193193

194-
Ports are configured in the `docker-compose.yml` file. If you change the internal port for the container, make sure you update `ASPNETCORE_HTTP_PORTS` variable to match.
194+
The host port (left side) can be configured in `docker-compose.yml`. The container port (right side) should not be changed. See the [compose docs](https://docs.docker.com/compose/compose-file/05-services/#ports) for details.
195195

196196
## API and Integrations
197197

docker-compose/docker-compose.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,10 @@ services:
2121
networks:
2222
- remotely
2323
environment:
24+
# ASPNETCORE environment variables should *not* be changed.
2425
- ASPNETCORE_ENVIRONMENT=Production
2526
- ASPNETCORE_HTTP_PORTS=5000
27+
2628
# Other ASP.NET Core configurations can be overridden here, such as Logging.
2729
# See https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-8.0
2830
- Serilog__MinimumLevel__Override__Microsoft.AspNetCore=Warning

0 commit comments

Comments
 (0)