# This example uses a host mounted directory that is created/used relative to this | |
# location of this compose file. | |
version: '3.4' | |
services: | |
bds: | |
image: itzg/minecraft-bedrock-server | |
environment: | |
EULA: "TRUE" | |
GAMEMODE: survival | |
DIFFICULTY: normal | |
ports: | |
- 19132:19132/udp | |
volumes: | |
- ./data:/data | |
stdin_open: true | |
tty: true | |