From b0605581c3df77e027305680dac959f3d0526c1b Mon Sep 17 00:00:00 2001 From: Geoff Bourne Date: Mon, 1 Jan 2024 13:51:52 -0600 Subject: [PATCH] docs: added ATM9 example (#2571) --- examples/.gitignore | 3 ++- examples/atm9/docker-compose.yml | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 examples/atm9/docker-compose.yml diff --git a/examples/.gitignore b/examples/.gitignore index 4753ab31..2a300b5c 100644 --- a/examples/.gitignore +++ b/examples/.gitignore @@ -1,3 +1,4 @@ data/ modpacks/ -.env \ No newline at end of file +.env +downloads/ \ No newline at end of file diff --git a/examples/atm9/docker-compose.yml b/examples/atm9/docker-compose.yml new file mode 100644 index 00000000..0eac43fa --- /dev/null +++ b/examples/atm9/docker-compose.yml @@ -0,0 +1,22 @@ +version: "3.8" + +services: + mc: + image: itzg/minecraft-server + ports: + - "25565:25565" + environment: + EULA: "true" + MOD_PLATFORM: AUTO_CURSEFORGE + # allocate from https://console.curseforge.com/ and set in .env file + CF_API_KEY: ${CF_API_KEY} + CF_PAGE_URL: https://www.curseforge.com/minecraft/modpacks/all-the-mods-9 + # Optional: select a specific version/file + #CF_FILENAME_MATCHER: "0.2.34" + MEMORY: 4G + volumes: + - mc-data:/data + - ./downloads:/downloads + +volumes: + mc-data: {} \ No newline at end of file