u/BoddaN420

itzg server resetting mod config (SVC)

itzg server resetting mod config (SVC)

Hello,

I just started a modded mincraft server using itzg and docker (compose). It's a custom modpack loosely based on Keralis Create pack on NeoForge. The server is running Ubuntu Server, and I'm using playit.gg.

The minecraft server itself is running fine, we played for a couple hours last night without any major issues.
The only problem is that Simple Voice Chat is not working.

I think I've narrowed it down to the mod config resetting after restarting the docker container.

The process of setting it up with playit.gg seems simple (https://playit.gg/support/svc-minecraft/), but the config file keeps resetting on every restart. How can i prevent this?

This is my docker compose:

Thanks! This is also my first timer ever using Linux and docker.

version: "3"


services:
  minecraft:
    image: itzg/minecraft-server
    volumes:
      - minecraftdata:/data
      - ./modpack:/modpack.ro
      - ./icon.jpg:/icon.jpg
    ports:
      - 25565:25565
      - "24454:24454/tcp"
      - "24454:24454/udp"
    environment:
      MEMORY: "10G"
      USE_AIKAR_FLAGS: "true"
      EULA: "TRUE"
      MODRINTH_MODPACK: /modpack/MC_Create.mrpack
      TYPE: "MODRINTH"
      DIFFICULTY: "NORMAL"
      ICON: /icon.jpg
      OVERRIDE_ICON: true
      MODRINTH_IGNORE_MISSING_FILES: |
        config/mcinstanceloader/pack.mcinstance
        mods/*.jar
      MODRINTH_EXCLUDE_FILES: |
        freecam
        betterclouds
    tty: true
    stdin_open: true
    restart: unless-stopped
volumes:
  minecraftdata:
    external: true
u/BoddaN420 — 1 day ago