2021-01-21 19:36:41 +00:00
|
|
|
services:
|
|
|
|
mc:
|
|
|
|
image: itzg/minecraft-server
|
2022-03-01 03:40:47 +00:00
|
|
|
tty: true
|
|
|
|
stdin_open: true
|
2021-01-21 19:36:41 +00:00
|
|
|
ports:
|
2023-02-03 03:05:54 +00:00
|
|
|
- "25565:25565"
|
2021-01-21 19:36:41 +00:00
|
|
|
environment:
|
|
|
|
EULA: "TRUE"
|
|
|
|
volumes:
|
2021-01-24 18:31:56 +00:00
|
|
|
# attach the relative directory 'data' to the container's /data path
|
2021-03-13 12:52:14 +00:00
|
|
|
- ./data:/data
|