minecraftimage/docker-compose.yml

20 lines
356 B
YAML
Raw Normal View History

2020-10-13 08:21:37 +00:00
version: '3.7'
services:
minecraft:
2021-01-04 08:12:24 +00:00
image: magmise/minecraft
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:
- ./server/:/server
2020-10-13 08:21:37 +00:00
stdin_open: true
tty: true