Skip to content

Commit aa91c24

Browse files
committed
docs: update docs for app run in the docker
1 parent 8d218de commit aa91c24

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@ docker build -t grimd:latest . && \
137137
docker run -v $PWD/sources:/sources --rm -it -P --name grimd-test grimd:latest --config /sources/grimd.toml --update
138138
```
139139

140-
For Mac docker set `'api = "0.0.0.0:8080"'` instead of `'api = "127.0.0.1:8080"'`.
140+
By default, if the program runs in a docker, it will automatically replace `127.0.0.1` in the default configuration with `0.0.0.0` to ensure that the API interface is available.
141+
141142
```shell
142143
curl -H "Accept: application/json" http://127.0.0.1:55006/application/active
143144
```

0 commit comments

Comments
 (0)