Added description for Docker usage.
This commit is contained in:
parent
15b5e42533
commit
0e6cd542cf
1 changed files with 15 additions and 0 deletions
15
README.md
15
README.md
|
@ -137,6 +137,21 @@ The API endpoints exposed by this HTTP server are documented in the
|
||||||
[`brouter-server/src/main/java/btools/server/request/ServerHandler.java`](brouter-server/src/main/java/btools/server/request/ServerHandler.java)
|
[`brouter-server/src/main/java/btools/server/request/ServerHandler.java`](brouter-server/src/main/java/btools/server/request/ServerHandler.java)
|
||||||
file.
|
file.
|
||||||
|
|
||||||
|
## BRouter with Docker
|
||||||
|
|
||||||
|
To build the Docker image run (in the project's to level directory):
|
||||||
|
|
||||||
|
```
|
||||||
|
docker build -t brouter .
|
||||||
|
```
|
||||||
|
|
||||||
|
Download the segment files as described in the previous chapter. The folder containing the
|
||||||
|
segment files and the one containing the profiles can be mounted into the container. Run
|
||||||
|
BRouter as follows:
|
||||||
|
|
||||||
|
```
|
||||||
|
docker run --rm -v ./misc/scripts/segments4:/segments4 -v ./misc/profiles2:/profiles2 brouter
|
||||||
|
```
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue