Created
December 11, 2017 18:30
-
-
Save veradalelabs/946812dfa343844966631cd29d1ebeb6 to your computer and use it in GitHub Desktop.
This file contains 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
minecraft-server: | |
volumes: | |
- ./data:/data | |
- ./world:/data/world | |
ports: | |
- "25565:25565" | |
environment: | |
EULA: "TRUE" | |
image: itzg/minecraft-server | |
container_name: Renameyourminecraftserver | |
tty: true | |
stdin_open: true | |
restart: always |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Set up a data directory and a world directory in your minecraft folder
Run it with docker-compose up -d if you want to run it in daemon mode so you don't have to run it in a shell.