This commit is contained in:
Joey Hafner 2023-06-14 18:25:07 -07:00
parent b72178e993
commit 7811478f69

View File

@ -18,6 +18,27 @@ services:
- 25565:25565
command: --mapping=bmcp.janfer.net=bmcp:25565,e9.janfer.net=e9:25565,fan.janfer.net=fan:25565,vanilla.janfer.net=vanilla:25565,vanilla2.janfer.net=vanilla2:25565 --api-binding=0.0.0.0:25566
e8:
image: itzg/minecraft-server:latest
container_name: minecraft_e8
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"
env_file:
- minecraft.env
- e8.env
volumes:
- $DOCKER_DATA/e8:/data:rw
networks:
- mc-router
restart: "no"
exporter-minecraft:
image: itzg/mc-monitor # https://github.com/itzg/mc-monitor
container_name: minecraft_exporter