Files
patata-pack2/docker-compose.yml
2024-03-31 16:25:29 +02:00

57 lines
1.3 KiB
YAML

version: "3.8"
services:
web:
container_name: mc-web-patata
image: nginx
volumes:
- ./web:/usr/share/nginx/html
ports:
- "8080:80"
mc:
image: itzg/minecraft-server
tty: true
stdin_open: true
depends_on:
- web
ports:
- "25565:25565"
- "24454:24454"
restart: unless-stopped
container_name: mc-forge-patata
environment:
OVERRIDE_SERVER_PROPERTIES: "TRUE"
EULA: "TRUE"
PACKWIZ_URL: http://patatapack.oier.ovh:8080/pack.toml
TYPE: FORGE
VERSION: 1.20.1
FORGE_VERSION: 47.2.0
MEMORY: 30G
MOTD: "§l§cPatataPack§r"
ONLINE_MODE: "FALSE"
ALLOW_FLIGHT: "TRUE"
OPS: |
Bailongo
Amimi
Mestrefox
EXISTING_OPS_FILE: SYNCHRONIZE
ICON: http://patatapack.oier.ovh:8080/patata-icon.png
volumes:
- ../patata-data:/data
#- ./simple-discord-bot.toml:/data/config/simple-discord-bot.toml
telegraf:
container_name: mc-telegraf-patata
image: telegraf:1.13
ports:
- 8094:8094
volumes:
- ./telegraf.conf:/etc/telegraf/telegraf.conf:ro
monitor:
container_name: mc-monitor-patata
build:
context: ../..
command: gather-for-telegraf
environment:
GATHER_INTERVAL: 10s
GATHER_TELEGRAF_ADDRESS: telegraf:8094
GATHER_SERVERS: mc-forge-patata: