Jafner.net/homelab/server/config/minecraft/e9.yml

32 lines
668 B
YAML
Raw Normal View History

2022-08-26 21:29:10 -07:00
version: '3'
services:
2022-10-15 14:36:38 -07:00
e9:
2022-08-26 21:29:10 -07:00
image: itzg/minecraft-server:latest
2022-10-15 14:36:38 -07:00
container_name: minecraft_e9
2022-08-26 21:29:10 -07:00
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
2022-10-15 14:36:38 -07:00
- VERSION=1.19.2
- FORGEVERSION=43.1.34
2022-08-26 21:29:10 -07:00
- OPS=jafner425
- ENABLE_RCON=true
- RCON_PASSWORD=${RCON_PASSWORD}
volumes:
2022-10-15 14:36:38 -07:00
- $DOCKER_DATA/e9:/data:rw
2022-08-26 21:29:10 -07:00
networks:
- mc-router
restart: "no"
networks:
mc-router:
external: true