部署一个Minecraft服务器

Wed Jun 16 2021

使用 Docker 部署 Minecraft 服务器非常方便。

version: "3.8"

services:
  mc:
    image: itzg/minecraft-server
    ports:
      - 25565:25565
      - 25575:25575
    environment:
      EULA: "TRUE"
    volumes:
      - ./minecraft-data:/data

Comments

comments powered by Disqus