workign on local server

This commit is contained in:
2026-03-16 19:22:02 -06:00
parent 9209455f02
commit 7cce9b4bbd
4 changed files with 140 additions and 205 deletions

26
docker-compose.yml Normal file
View File

@@ -0,0 +1,26 @@
services:
minecraft:
image: itzg/minecraft-server:java21
stdin_open: true
tty: true
ports:
- "2222:2222" # Minecraft
- "25576:25576" # RCON
- "8085:8085" # Cobblemon Battle API
environment:
EULA: "true"
TYPE: "AUTO_CURSEFORGE"
CF_SLUG: "cobbleverse-cobblemon"
CF_MODPACK_ZIP: "/modpacks/COBBLEVERSE-1.7.30-CF.zip"
MEMORY: "4G"
SERVER_PORT: "2222"
RCON_PORT: "25576"
CF_OVERRIDES_EXCLUSIONS: |
shaderpacks/**
resourcepacks/**
env_file:
- .env
volumes:
- ./minecraft-data:/data
- ./COBBLEVERSE-1.7.30-CF.zip:/modpacks/COBBLEVERSE-1.7.30-CF.zip:ro
restart: unless-stopped