docker-minecraft-server/minecraft-server/docker-compose.yml

29 lines
494 B
YAML
Raw Normal View History

version: '3'
2019-01-13 06:20:24 +00:00
# Other docker-compose examples in /examples
2015-08-15 15:06:32 +00:00
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"
2015-08-15 15:06:32 +00:00
volumes:
mc:
rcon: