docker-compose/minecraft/docker-compose.yml

18 lines
386 B
YAML

version: '3.3'
services:
minecraft-server:
volumes:
- /mnt/data/storage/minecraft:/data
environment:
- TYPE=FORGE
- MEMORY=2G
- VERSION=1.18.2
- FORGE_VERSION=40.1.93
- EULA=TRUE
ports:
- '25565:25565'
container_name: mc-forge
image: itzg/minecraft-server