docs: add example compose file with host mount (#215)

This commit is contained in:
Geoff Bourne authored and GitHub committed 2022-02-10 21:40:21 -06:00
1 parent b00d869d6d
commit 472b1feeb7
1 file changed
+18
+18
View File
@@ -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