Moved Minecraft server files to top-level

This commit is contained in:
Geoff Bourne
2019-07-20 15:51:40 -05:00
parent 281bd3660f
commit c60156d245
41 changed files with 1030 additions and 1056 deletions
+28
View File
@@ -0,0 +1,28 @@
version: '3'
# Other docker-compose examples in /examples
services:
minecraft:
image: itzg/minecraft-server
ports:
- "25565:25565"
volumes:
- "mc:/data"
environment:
EULA: "TRUE"
CONSOLE: "false"
ENABLE_RCON: "true"
RCON_PASSWORD: "testing"
RCON_PORT: 28016
restart: always
rcon:
image: itzg/rcon
ports:
- "4326:4326"
- "4327:4327"
volumes:
- "rcon:/opt/rcon-web-admin/db"
volumes:
mc:
rcon: