homelab/server/config/minecraft/e9.yml
2022-10-15 14:36:38 -07:00

32 lines
668 B
YAML

version: '3'
services:
e9:
image: itzg/minecraft-server:latest
container_name: minecraft_e9
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
- MAX_MEMORY=8G
- TYPE=FORGE
- VERSION=1.19.2
- FORGEVERSION=43.1.34
- OPS=jafner425
- ENABLE_RCON=true
- RCON_PASSWORD=${RCON_PASSWORD}
volumes:
- $DOCKER_DATA/e9:/data:rw
networks:
- mc-router
restart: "no"
networks:
mc-router:
external: true