Cloud storage based Minecraft server container that can be deployed anywhere that can run Docker.
585
Run your Minecraft server anywhere there is Docker available, powered by your cloud file hosting provider of choice and rclone!
docker run -it -P --rm -e "STORAGE_AUTH={\"access_token\":\"super-secret-dropbox-token-here\",\"token_type\":\"bearer\",\"expiry\":\"0001-01-01T00:00:00Z\"}" -e "STORAGE_TYPE=dropbox" -e "STORAGE_FOLDER=cloud/drive/sub/folder/here" -e "STARTUP=java -jar optional-custom-jar-for-custom-start-args.jar" jasoryeh/syncable-minecraft
On the storage provider you choose to use:
rclone authorize "$STORAGE_TYPE" on your local machine, make note of the JSON response (this will be used in STORAGE_AUTH)STORAGE_TYPE = Rclone's remote type (see a list of raw strings here and actual list with features here)
STORAGE_AUTH = After authorizing locally with rclone authorize "$STORAGE_TYPE", this is the authorization token you get.
STORAGE_FOLDER = Path to folder used on file storage provider ex. /coolfolderforserver/orsubpaths/to/server
STARTUP = Startup arguments if different from java -jar server.jar, syncable-minecraft uses OpenJDK 8 by default.
AUTOSAVE = Defaults to 300, specifies delay between autosaves (save-all) command in the server. A sync to the storage provider will usually be performed AUTOSAVE seconds after this save-all to ensure the world is properly saved.
LOCK_OVERRIDE = This container tries to make your server have a predictable state by using a SYNCABLE_LOCK file to show that the server is currently in use. Sometimes (such as when a server goes down unexpectedly), this doesn't get deleted and you may need to use this lock override to tell the container it is safe to proceed. It can be any value as long as it exists.
NGROK_AUTH = Tries to start NGROK with your authentication key on NGROK_PORT (default 25565 if not specified), use _syncable ngrok while the server is running to display ngrok tunnel information.
NGROK_PORT = NGROK port if other than 25565.
Default port exposed is 25565 (with -P ?), specify more with -p (host):(container) or if your server wants to use a different port.
Content type
Image
Digest
sha256:d50092e80…
Size
188.5 MB
Last updated
over 2 years ago
docker pull jasoryeh/syncable-minecraft