version: '3' services: bmcp: image: itzg/minecraft-server:java8 container_name: minecraft_bmcp environment: - EULA=TRUE - MAX_MEMORY=12G - TYPE=FORGE - VERSION=1.16.5 - FORGEVERSION=36.2.28 - OPS=jafner425 - 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 volumes: - $DOCKER_DATA/bmcp:/data:rw networks: - mc-router restart: always networks: mc-router: external: true