From 472b1feeb762eecef6485989c2b2803c656fef35 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Thu, 10 Feb 2022 21:40:21 -0600 Subject: [PATCH] docs: add example compose file with host mount (#215) --- examples/docker-compose.host-mount.yml | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 examples/docker-compose.host-mount.yml diff --git a/examples/docker-compose.host-mount.yml b/examples/docker-compose.host-mount.yml new file mode 100644 index 0000000..c8fc552 --- /dev/null +++ b/examples/docker-compose.host-mount.yml @@ -0,0 +1,18 @@ +# 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