minecraftimage/docker-compose.yml

21 lines
416 B
YAML
Raw Normal View History

2020-10-13 08:21:37 +00:00
version: '3.7'
services:
minecraft:
2021-08-25 05:21:02 +00:00
image: magmise/minecraft:latest
2020-10-13 08:21:37 +00:00
container_name: minecraft
2021-10-12 10:30:50 +00:00
build: .
2020-10-13 08:21:37 +00:00
restart: unless-stopped
environment:
2021-01-04 08:33:44 +00:00
MIN_MEM: 1G
2020-10-13 08:21:37 +00:00
MAX_MEM: 1G
2021-01-04 08:33:44 +00:00
STOP: stop
2021-11-26 22:44:56 +00:00
JAR: server.jar
2021-10-12 10:30:50 +00:00
REGEX: "Preparing spawn area:"
2020-10-13 08:21:37 +00:00
ports:
- 25565:25565
volumes:
- ./server/:/server
2020-10-13 08:21:37 +00:00
stdin_open: true
tty: true