mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-11-08 10:13:38 +00:00
Added top-level docker compose file (#1628)
This commit is contained in:
1 parent
e70525b2ff
commit
c5d4e4d8ca
1 file changed
+16
@@ -0,0 +1,16 @@
|
|||||||
|
version: "3.8"
|
||||||
|
|
||||||
|
services:
|
||||||
|
mc:
|
||||||
|
image: itzg/minecraft-server
|
||||||
|
environment:
|
||||||
|
EULA: "true"
|
||||||
|
ports:
|
||||||
|
- "25565:25565"
|
||||||
|
volumes:
|
||||||
|
- data:/data
|
||||||
|
stdin_open: true
|
||||||
|
tty: true
|
||||||
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
data: {}
|
||||||
Reference in new issue
Block a user