Skip to content

Commit

Permalink
Add more info to readme, add more memory by default to docker.
Browse files Browse the repository at this point in the history
  • Loading branch information
HarelM committed Jan 21, 2025
1 parent 2bbcb62 commit 935b0ac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN mvn package

FROM eclipse-temurin:21-jre-alpine

ENV JAVA_OPTS="-Xmx1g -Xms1g"
ENV JAVA_OPTS="-Xmx2g -Xms2g"

WORKDIR /app

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ Additional arguments to this wrapper besides the Planetiler's arguments:
| `es-address` | The address of the Elasticsearch database | `http://localhost:9200` |
| `es-index-alias` | The alias of the index to insert into, it will create "1" and "2" suffix for the relevant index before switching | `points` |

To run using docker:
To run using docker (While having a local elasticsearch running at 9200):

`docker run --rm ghcr.io/israelhikingmap/planet-search`
`docker run --rm --network=host -e JAVA_OPTS="-Xmx4g -Xms4g" -v "$(pwd)/data":/app/data ghcr.io/israelhikingmap/planet-search --download`

To compile run:

Expand Down

0 comments on commit 935b0ac

Please sign in to comment.