Created
April 26, 2020 13:25
-
-
Save Na0ki/3ccee9a208caec425d7f9466b165cdc3 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
version: '3.7' | |
services: | |
minecraft: | |
image: openjdk:11.0.7-jre-slim-buster | |
ports: | |
- 127.0.0.1:25565:25565 | |
restart: always | |
command: java -Xms1G -Xmx4G -jar server.jar nogui | |
tty: true | |
stdin_open: true | |
working_dir: /var/lib/minecraft | |
volumes: | |
- ./mc_server:/var/lib/minecraft |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment