docs: use host directory for data volume in default example (#414)

This commit is contained in:
Geoff Bourne authored and GitHub committed 2024-05-10 18:47:19 -05:00
1 parent 39a562fd38
commit 694149c890
4 files changed
+21 -37

No files matched your search

-18
View File
@@ -1,18 +0,0 @@
# 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
+1 -8
View File
@@ -1,18 +1,11 @@
version: '3.4'
services:
bds:
image: itzg/minecraft-bedrock-server
environment:
EULA: "TRUE"
GAMEMODE: survival
DIFFICULTY: normal
ports:
- "19132:19132/udp"
volumes:
- bds:/data
- ./data:/data
stdin_open: true
tty: true
volumes:
bds: {}