Skip to content

Commit c905d01

Browse files
authored
chore(docs): Update README, GraphQl and Redis local URLs (#673)
1 parent d416cdc commit c905d01

File tree

2 files changed

+11
-5
lines changed

2 files changed

+11
-5
lines changed

README.md

+10-4
Original file line numberDiff line numberDiff line change
@@ -54,18 +54,24 @@ You can run the entire project locally using `podman compose`. (This uses docker
5454
```powershell
5555
podman compose up
5656
```
57-
The APIs SwaggerUI should now be available at [localhost:7124/swagger](https://localhost:7214/swagger/index.html)
5857

58+
The following GUI services should now be available:
59+
* WebAPI/SwaggerUI: [localhost:7124/swagger](https://localhost:7214/swagger/index.html)
60+
* GraphQl/BananaCakePop: [localhost:7215/graphql](https://localhost:7214/swagger/index.html)
61+
* Redis/Insight: [localhost:7216](https://localhost:7214/swagger/index.html)
5962

60-
### Running the WebApi in an IDE
61-
If you need do debug the WebApi project in an IDE, you can alternatively run `podman compose` without the WebAPI.
63+
The WebAPI and GraphQl services are behind a nginx proxy, and you can change the number of replicas by setting the `scale` property in the `docker-compose.yml` file.
64+
65+
66+
### Running the WebApi/GraphQl in an IDE
67+
If you need do debug the WebApi/GraphQl projects in an IDE, you can alternatively run `podman compose` without the WebAPI/GraphQl.
6268
First create a dotnet user secret for the DB connection string.
6369

6470
```powershell
6571
dotnet user-secrets set -p .\src\Digdir.Domain.Dialogporten.WebApi\ "Infrastructure:DialogDbConnectionString" "Server=localhost;Port=5432;Database=Dialogporten;User ID=postgres;Password=supersecret;"
6672
```
6773

68-
Then run `podman compose` without the WebAPI project.
74+
Then run `podman compose` without the WebAPI/GraphQl projects.
6975
```powershell
7076
podman compose -f docker-compose-no-webapi.yml up
7177
```

docker-compose-no-webapi.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ services:
4343
container_name: redisinsight
4444
image: redis/redisinsight
4545
ports:
46-
- "8001:80"
46+
- "7216:80"
4747
environment:
4848
RI_APP_PORT: 80
4949
RI_APP_HOST: '0.0.0.0'

0 commit comments

Comments
 (0)