mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-14 22:32:28 +00:00
27 lines
449 B
YAML
27 lines
449 B
YAML
version: '3'
|
|
|
|
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:
|