docs: added ATM9 example (#2571)

This commit is contained in:
Geoff Bourne 2024-01-01 13:51:52 -06:00 committed by GitHub
parent 2cfd685def
commit b0605581c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 1 deletions

3
examples/.gitignore vendored
View File

@ -1,3 +1,4 @@
data/ data/
modpacks/ modpacks/
.env .env
downloads/

View File

@ -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: {}