Skip to content

Instantly share code, notes, and snippets.

@espeon
Created July 5, 2021 06:26
Show Gist options
  • Select an option

  • Save espeon/407d00694ff18b4bd2fe9646c47cdfe8 to your computer and use it in GitHub Desktop.

Select an option

Save espeon/407d00694ff18b4bd2fe9646c47cdfe8 to your computer and use it in GitHub Desktop.
minceraft
version: '3.4'
services:
mc:
image: itzg/minecraft-server
environment:
EULA: "true"
TYPE: PAPER
SEED: "-7381235180058670651"
CONSOLE: "false"
ENABLE_AUTOPAUSE: "TRUE"
OVERRIDE_SERVER_PROPERTIES: "TRUE"
MAX_TICK_TIME: "-1"
MAX_MEMORY: 6G
MAX_BUILD_HEIGHT: 256
FORCE_REDOWNLOAD: "TRUE"
restart: unless-stopped
volumes:
- ./vanilla:/data
router:
image: itzg/mc-router
ports:
- 25565:25565
command: -mapping=example.domain.com=mc:25565
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment