homelab/server/config/minecraft/router.yml

26 lines
652 B
YAML
Raw Normal View History

2022-02-08 17:00:27 -08:00
version: '3'
services:
router:
image: itzg/mc-router
container_name: minecraft_mc-router
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
2022-07-14 15:22:44 -07:00
keep-file: "true"
restart: "no"
2022-02-08 17:00:27 -08:00
networks:
- mc-router
ports:
- 25565:25565
2022-10-15 20:05:12 -07:00
command: --mapping=vanilla.jafner.net=vanilla:25565,e9.jafner.net=e9:25565,fan.jafner.net=fan:25565,vanilla2.jafner.net=vanilla2:25565,bmcp.jafner.net=bmcp:25565 --api-binding=0.0.0.0:25566
2022-02-08 17:00:27 -08:00
networks:
mc-router:
external: true
volumes:
mc-router: