2024-02-15 02:09:59 -08:00
|
|
|
version: '3.9'
|
2022-11-01 00:24:27 -07:00
|
|
|
services:
|
|
|
|
router:
|
|
|
|
image: itzg/mc-router
|
2022-11-01 15:23:03 -07:00
|
|
|
container_name: minecraft_router
|
2022-11-01 00:24:27 -07:00
|
|
|
restart: "no"
|
|
|
|
networks:
|
2023-03-23 14:50:18 -07:00
|
|
|
- minecraft
|
2022-11-01 00:24:27 -07:00
|
|
|
ports:
|
|
|
|
- 25565:25565
|
2024-06-18 17:08:19 -07:00
|
|
|
command: --api-binding=0.0.0.0:25566 --mapping=e10.jafner.net=e10:25565
|
2023-06-14 18:25:07 -07:00
|
|
|
|
2023-03-04 23:43:46 -08:00
|
|
|
exporter-minecraft:
|
|
|
|
image: itzg/mc-monitor # https://github.com/itzg/mc-monitor
|
|
|
|
container_name: minecraft_exporter
|
|
|
|
command: export-for-prometheus
|
|
|
|
restart: "no"
|
|
|
|
networks:
|
|
|
|
- monitoring
|
2023-03-23 14:50:18 -07:00
|
|
|
- minecraft
|
2023-03-04 23:43:46 -08:00
|
|
|
env_file:
|
2024-02-15 02:05:23 -08:00
|
|
|
- path: ./exporter.env
|
|
|
|
required: true
|
2023-03-04 23:43:46 -08:00
|
|
|
labels:
|
|
|
|
- traefik.enable=false
|
|
|
|
|
2024-06-18 17:07:07 -07:00
|
|
|
e10:
|
2023-10-25 21:13:18 -07:00
|
|
|
image: itzg/minecraft-server:latest
|
2024-06-18 17:07:07 -07:00
|
|
|
container_name: minecraft_e10
|
2024-02-15 02:05:23 -08:00
|
|
|
env_file:
|
|
|
|
- path: ./minecraft.env
|
|
|
|
required: true
|
|
|
|
- path: ./minecraft_secrets.env
|
|
|
|
required: false
|
2024-06-18 17:07:07 -07:00
|
|
|
- path: ./e10.env
|
2024-02-15 02:05:23 -08:00
|
|
|
required: true
|
2023-10-25 21:13:18 -07:00
|
|
|
volumes:
|
2024-06-18 17:07:07 -07:00
|
|
|
- $DOCKER_DATA/e10:/data:rw
|
2023-10-25 21:13:18 -07:00
|
|
|
networks:
|
|
|
|
- minecraft
|
|
|
|
restart: "no"
|
|
|
|
|
2022-11-01 00:24:27 -07:00
|
|
|
networks:
|
2023-03-23 14:50:18 -07:00
|
|
|
minecraft:
|
2023-03-04 23:48:40 -08:00
|
|
|
monitoring:
|
|
|
|
external: true
|
2022-11-01 00:24:27 -07:00
|
|
|
volumes:
|
|
|
|
mc-router:
|