Skip to content

Commit

Permalink
Make ports for local and production the same to make configurations e…
Browse files Browse the repository at this point in the history
…asier
  • Loading branch information
QuinnBast committed Feb 2, 2023
1 parent f22f2ea commit b7a8abf
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ docker-compose --profile production up -d
```

Once this command is executed, you will have a running database and server.
Access the server at: `http://localhost:8080`, or view the swagger UI at `http://localhost:8080/swagger/index.html`
Access the server at: `http://localhost:5295`, or view the swagger UI at `http://localhost:5295/swagger/index.html`

#### `test` Deployment

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"commandName": "Project",
"dotnetRunMessages": true,
"launchBrowser": false,
"applicationUrl": "http://*:80",
"applicationUrl": "http://*:5295",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Docker"
}
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ services:
volumes:
- ".:/var/www"
ports:
- 8080:8080
- 5295:5295
environment:
- ASPNETCORE_URLS=http://*:8080
- ASPNETCORE_URLS=http://*:5295
- DOTNET_ENVIRONMENT=Docker
- ASPNETCORE_ENVIRONMENT=Docker
db:
Expand Down

0 comments on commit b7a8abf

Please sign in to comment.