Created
June 19, 2021 21:01
-
-
Save tkharris/ac9fd27d6921e2fd25957ae8260d34f2 to your computer and use it in GitHub Desktop.
docker compose file for running mincraft server, see https://github.com/itzg/docker-minecraft-server
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" | |
services: | |
mc: | |
image: itzg/minecraft-server | |
ports: | |
- 25565:25565 | |
environment: | |
EULA: "TRUE" | |
volumes: | |
# attach a directory relative to the directory containing this compose file | |
- ./minecraft-data:/data |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment