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

18 lines
289 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
stdin_open: true
tty: true
ports:
- "25565:25565"
volumes:
- "mc:/data"
environment:
EULA: "TRUE"
restart: always
2015-08-15 15:06:32 +00:00
volumes:
mc: {}