mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-07-17 14:04:55 +00:00
Added top-level docker compose file (#1628)
This commit is contained in:
@@ -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