This repository was archived by the owner on Jan 8, 2026. It is now read-only.
Added configurable world directory#30
Open
ApolloRoboto wants to merge 2 commits into
Open
Conversation
ApolloRoboto
commented
Mar 5, 2023
| | RCON_PORT | `None` | Port RCON is hosted on | | ||
| | RCON_PASSWORD | `None` | RCON Password for access | | ||
| | HTTP_PORT | `8000` | Port to host on, in case of using outside docker* | | ||
| | WORLD_DIRECTORY | `/world` | Directory of the world for player stats | |
Author
There was a problem hiding this comment.
Let me know if you'd like to change this description.
|
Are there any updates to this? I am currently in a similar situation and this would fix my problem |
Author
|
If you are using docker compose, it's possible to use my forked repository as the build context: ...
exporter:
build:
context: https://github.com/Apollo-Roboto/minecraft-exporter.git#master
dockerfile: Dockerfile
environment:
RCON_HOST: server
RCON_PORT: '25575'
RCON_PASSWORD: minecraft
FORGE_SERVER: 'True'
WORLD_DIRECTORY: /data/world
... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
My world directory was inside another volume and I needed to use a different path than
/world. This change allowed me to manipulate this path.Changes:
WORLD_DIRECTORYenvironment variable. Which defaults to/world.