Docker wrapper to run Minecraft in Docker
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

20 lines
416 B

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