mirror of
https://github.com/itzg/docker-minecraft-server
synced 2024-11-10 06:14:14 +00:00
docs: added ATM9 example (#2571)
This commit is contained in:
parent
2cfd685def
commit
b0605581c3
2 changed files with 24 additions and 1 deletions
3
examples/.gitignore
vendored
3
examples/.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
data/
|
||||
modpacks/
|
||||
.env
|
||||
.env
|
||||
downloads/
|
22
examples/atm9/docker-compose.yml
Normal file
22
examples/atm9/docker-compose.yml
Normal 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: {}
|
Loading…
Reference in a new issue