mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-12-14 22:32:28 +00:00
14 lines
309 B
YAML
14 lines
309 B
YAML
version: "3"
|
|
|
|
services:
|
|
mc:
|
|
restart: "no"
|
|
image: ${IMAGE_TO_TEST:-itzg/minecraft-server}
|
|
environment:
|
|
EULA: "TRUE"
|
|
SETUP_ONLY: "TRUE"
|
|
VERSION: ${MINECRAFT_VERSION:-LATEST}
|
|
WORLD: /worlds/world-for-testing.tar
|
|
volumes:
|
|
- ./worlds:/worlds:ro
|
|
- ./data:/data
|