actions-vps-mirror/minecraft-compose.yml

36 lines
1 KiB
YAML
Raw Normal View History

2024-10-05 07:34:43 -04:00
services:
minecraft:
image: itzg/minecraft-server
tty: true
stdin_open: true
ports:
- "25565:25565"
2024-10-05 07:38:57 -04:00
- "8123:8123"
2024-10-05 07:34:43 -04:00
environment:
TZ: "America/Los_Angeles"
EULA: "TRUE"
INIT_MEMORY: "4G"
MAX_MEMORY: "14G"
USE_AIKAR_FLAGS: "true"
TYPE: "paper"
MOTD: "§dA Minecraft Server hosted on GitHub Actions :D"
ONLINE_MODE: "false"
DIFFICULTY: "peaceful"
MAX_PLAYERS: "100"
ENABLE_COMMAND_BLOCK: "true"
MODE: "creative"
ALLOW_FLIGHT: "true"
RCON_PASSWORD: "minecraft" # totally secure password wow
PLUGINS: |
https://github.com/EssentialsX/Essentials/releases/download/2.20.1/EssentialsX-2.20.1.jar
https://hangarcdn.papermc.io/plugins/ViaVersion/ViaBackwards/versions/5.0.3/PAPER/ViaBackwards-5.0.3.jar
https://cdn.modrinth.com/data/fRQREgAc/versions/AdtrWcU2/Dynmap-3.7-beta-7-spigot.jar
SPIGET_RESOURCES: "19254,52109" # viaversion, viarewind
volumes:
- ./data:/data