homelab/server/config/minecraft/bmcp.yml

38 lines
1007 B
YAML
Raw Normal View History

2022-05-08 19:10:03 -07:00
version: '3'
services:
bmcp:
image: itzg/minecraft-server:java8
container_name: minecraft_bmcp
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
2022-05-08 19:10:03 -07:00
environment:
- EULA=TRUE
2022-05-09 20:29:31 -07:00
- MAX_MEMORY=12G
2022-05-08 19:10:03 -07:00
- TYPE=FORGE
- VERSION=1.16.5
- FORGEVERSION=36.2.28
- OPS=jafner425
2022-05-09 21:55:42 -07:00
- ENABLE_RCON=true # This does not override server.properties
- RCON_PORT=25575 # This does not override server.properties
- RCON_PASSWORD=${RCON_PASSWORD} # This does not override server.properties
2022-05-09 23:33:34 -07:00
- RCON_CMDS_STARTUP= |-
/pregen start gen radius Pregen SQUARE 0 0 500
- RCON_CMDS_FIRST_CONNECT= |-
/pregen pause
- RCON_CMDS_LAST_DISCONNECT= |-
/pregen continue
2022-05-08 19:10:03 -07:00
volumes:
- $DOCKER_DATA/bmcp:/data:rw
networks:
- mc-router
restart: "no"
2022-05-08 19:10:03 -07:00
networks:
mc-router:
external: true