mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
15 lines
309 B
YAML
15 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.tgz
|
|
volumes:
|
|
- ./worlds:/worlds:ro
|
|
- ./data:/data
|