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
|
|
|
|
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
|
|
|
|
JAR: server.jar
|
2020-10-13 08:21:37 +00:00
|
|
|
ports:
|
|
|
|
- 25565:25565
|
|
|
|
volumes:
|
2021-01-04 08:14:00 +00:00
|
|
|
- ./server/:/server
|
2020-10-13 08:21:37 +00:00
|
|
|
stdin_open: true
|
|
|
|
tty: true
|