homelab/server/config/minecraft/vanilla2.yml

27 lines
554 B
YAML

version: '3'
services:
vanilla2:
image: itzg/minecraft-server:java8
container_name: minecraft_vanilla2
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
environment:
- EULA=TRUE
- VERSION=1.8
- OPS=galaxysqvid
- MAX_MEMORY=8G
volumes:
- $DOCKER_DATA/vanilla2:/data:rw
networks:
- mc-router
networks:
mc-router:
external: true