Minecraft-bedrock/docker-compose.yaml

27 lines
535 B
YAML

version: '3.4'
services:
bds:
container_name: ${containerprefix}-${servername}
image: itzg/minecraft-bedrock-server
environment:
EULA: "TRUE"
GAMEMODE: ${gamemode}
DIFFICULTY: ${difficulty}
VERSION: ${version}
SERVER_NAME: ${servername}
DIFFICULTY: ${difficulty}
ALLOW_CHEATS: ${cheats}
LEVEL_SEED: ${seed}
MAX_PLAYERS: ${max_players}
OPS: ${ops}
ports:
- ${port}:19132/udp
volumes:
- ./data:/data
stdin_open: true
tty: true