Skip to content

Commit

Permalink
Split ADDITIONAL_ARGS (#46)
Browse files Browse the repository at this point in the history
Per #45 and overviewer/Minecraft-Overviewer#1673, the `--genpoi` launches a different code path that doesn't support all the same options. Because of this, I will break out the environment variable flags.
  • Loading branch information
mide authored Nov 6, 2019
1 parent 125cee6 commit d2fad05
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,9 @@ docker run \
- `ADDITIONAL_ARGS`
Default Value: _null_. Set to contain any additional arguments you'd like to pass into `overviewer.py`.

- `ADDITIONAL_ARGS_POI`
Default Value: _null_. Set to contain any additional arguments you'd like to pass into `overviewer.py --genpoi`.

- `CONFIG_LOCATION`
Default Value: `/home/minecraft/config.py`. Set to a different path to override the provided configuration. This only makes sense if you have a different configuration in a volume.

Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@ fi

# Render the POI
if [ "$RENDER_POI" == "true" ]; then
overviewer.py --config "$CONFIG_LOCATION" --genpoi $ADDITIONAL_ARGS
overviewer.py --config "$CONFIG_LOCATION" --genpoi $ADDITIONAL_ARGS_POI
fi

0 comments on commit d2fad05

Please sign in to comment.