minecraftimage/docker-compose.yml

21 lines
412 B
YAML

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