minecraftimage/docker-compose.yml

20 lines
356 B
YAML

version: '3.7'
services:
minecraft:
image: magmise/minecraft
container_name: minecraft
restart: unless-stopped
environment:
MIN_MEM: 1G
MAX_MEM: 1G
STOP: stop
JAR: server.jar
ports:
- 25565:25565
volumes:
- ./server/:/server
stdin_open: true
tty: true