Skip to content

Commit

Permalink
Update port explanations.
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbound committed Aug 2, 2024
1 parent 3aba556 commit 8417df7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ There are a few shortcut keys available when using the console.

## Port Configuration

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.
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.

## API and Integrations

Expand Down
2 changes: 2 additions & 0 deletions docker-compose/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,10 @@ services:
networks:
- remotely
environment:
# ASPNETCORE environment variables should *not* be changed.
- ASPNETCORE_ENVIRONMENT=Production
- ASPNETCORE_HTTP_PORTS=5000

# Other ASP.NET Core configurations can be overridden here, such as Logging.
# See https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-8.0
- Serilog__MinimumLevel__Override__Microsoft.AspNetCore=Warning
Expand Down

0 comments on commit 8417df7

Please sign in to comment.