2022-08-26 21:29:10 -07:00
|
|
|
version: '3'
|
|
|
|
|
|
|
|
services:
|
|
|
|
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"
|
|
|
|
environment:
|
|
|
|
- EULA=TRUE
|
|
|
|
- MAX_MEMORY=8G
|
|
|
|
- TYPE=FORGE
|
|
|
|
- VERSION=1.18.2
|
2022-09-03 21:11:00 -07:00
|
|
|
- FORGEVERSION=40.1.73
|
2022-08-26 21:29:10 -07:00
|
|
|
- OPS=jafner425
|
|
|
|
- ENABLE_RCON=true
|
|
|
|
- RCON_PASSWORD=${RCON_PASSWORD}
|
|
|
|
volumes:
|
2022-08-26 21:32:24 -07:00
|
|
|
- $DOCKER_DATA/e8:/data:rw
|
2022-08-26 21:29:10 -07:00
|
|
|
networks:
|
|
|
|
- mc-router
|
|
|
|
restart: "no"
|
|
|
|
networks:
|
|
|
|
mc-router:
|
|
|
|
external: true
|