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.

21 lines
416 B

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