homelab/server/config/minecraft/e6.yml
Joey Hafner 54124da9d1 #31 Add Loki logging for all "main" apps
Also converted a few old composes from 4-space indentation to 2-space
Ignores supporting containers like postgres, redis, etc.
2022-07-13 13:35:56 -07:00

31 lines
641 B
YAML

version: '3'
services:
e6:
image: itzg/minecraft-server:java8
container_name: minecraft_e6
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
environment:
- EULA=TRUE
- MAX_MEMORY=8G
- TYPE=FORGE
- VERSION=1.16.5
- FORGEVERSION=36.2.29
- OPS=jafner425
- ENABLE_RCON=true
- RCON_PASSWORD=${RCON_PASSWORD}
volumes:
- $DOCKER_DATA/e6:/data:rw
networks:
- mc-router
restart: "no"
networks:
mc-router:
external: true