Skip to content

Commit 4518a10

Browse files
committed
Run with empty host for dual stack mode, add to documentation
1 parent b9eebf8 commit 4518a10

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ or
2727
```sh
2828
$ GRAPH_FILE=graph.ttl poetry run fastapi dev sparql_file.py
2929
# or
30-
$ GRAPH_FILE=graph.ttl poetry run uvicorn sparql_file:app --host 0.0.0.0 --port 8080
30+
$ GRAPH_FILE=graph.ttl poetry run uvicorn sparql_file:app --host '' --port 8080
3131
```
3232

3333
## Run With Podman/Docker (local build)

Taskfile.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ tasks:
2020
serve:uvicorn:
2121
desc: Run with uvicorn
2222
cmds:
23-
- poetry run uvicorn sparql_file:app --host 0.0.0.0 --port 8080
23+
- poetry run uvicorn sparql_file:app --host '' --port 8080
2424

2525
serve:container:
2626
desc: Run the container with podman

0 commit comments

Comments
 (0)