From bededca88814d4bd18bdc9f25089d8a438070e83 Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Tue, 8 Sep 2026 15:22:11 -0500 Subject: [PATCH] examples: update atm10 to use CF_IGNORE_MISSING_FILES (#4271) --- examples/auto-curseforge/atm10/.gitignore | 1 + .../atm10/docker-compose-with-secret.yml | 34 +++++++++++++++++++ .../auto-curseforge/atm10/docker-compose.yml | 3 ++ 3 files changed, 38 insertions(+) create mode 100644 examples/auto-curseforge/atm10/.gitignore create mode 100644 examples/auto-curseforge/atm10/docker-compose-with-secret.yml diff --git a/examples/auto-curseforge/atm10/.gitignore b/examples/auto-curseforge/atm10/.gitignore new file mode 100644 index 00000000..2cb40dc1 --- /dev/null +++ b/examples/auto-curseforge/atm10/.gitignore @@ -0,0 +1 @@ +cf-api-key* \ No newline at end of file diff --git a/examples/auto-curseforge/atm10/docker-compose-with-secret.yml b/examples/auto-curseforge/atm10/docker-compose-with-secret.yml new file mode 100644 index 00000000..917922c1 --- /dev/null +++ b/examples/auto-curseforge/atm10/docker-compose-with-secret.yml @@ -0,0 +1,34 @@ +name: atm10-with-secret-file + +secrets: + cf-api-key: + file: ./cf-api-key.txt + +services: + mc: + image: itzg/minecraft-server + tty: true + stdin_open: true + ports: + - "25565:25565" + environment: + EULA: true + MOD_PLATFORM: AUTO_CURSEFORGE + CF_SLUG: all-the-mods-10 + # Optional: select a specific version/file + # CF_FILENAME_MATCHER: "1.17" + CF_API_KEY_FILE: /run/secrets/cf-api-key + DEBUG: true + MEMORY: 4G + CF_OVERRIDES_EXCLUSIONS: | + # Not applicable for server side + shaderpacks/** + secrets: + - cf-api-key + volumes: + # Use managed volume by default, but can change to a relative path like + # ./data:/data + # to use a host directory + - mc-data:/data +volumes: + mc-data: diff --git a/examples/auto-curseforge/atm10/docker-compose.yml b/examples/auto-curseforge/atm10/docker-compose.yml index bd28544a..6a8ce896 100644 --- a/examples/auto-curseforge/atm10/docker-compose.yml +++ b/examples/auto-curseforge/atm10/docker-compose.yml @@ -8,10 +8,13 @@ services: environment: EULA: true MOD_PLATFORM: AUTO_CURSEFORGE + # Verified up to ATM10 8.1 CF_SLUG: all-the-mods-10 # Optional: select a specific version/file # CF_FILENAME_MATCHER: "1.17" MEMORY: 4G + CF_IGNORE_MISSING_FILES: | + config/ftbquests/quests/reward_tables/*.snbt CF_OVERRIDES_EXCLUSIONS: | # Not applicable for server side shaderpacks/**