mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-02-17 07:03:57 +00:00
33 lines
1.2 KiB
YAML
33 lines
1.2 KiB
YAML
# This runs the most recent version of Roguelike Adventures and Dungeons 2. Version 1.11 as of writing.
|
|
services:
|
|
mc:
|
|
image: itzg/minecraft-server:java8
|
|
ports:
|
|
- "25565:25565"
|
|
environment:
|
|
EULA: "true"
|
|
MODPACK_PLATFORM: AUTO_CURSEFORGE
|
|
# Allocate API key from https://console.curseforge.com/
|
|
# and set in .env file making sure to double up dollar signs, such as
|
|
# CF_API_KEY=$$2a$$10$$....
|
|
# Refer to https://docker-minecraft-server.readthedocs.io/en/latest/types-and-platforms/mod-platforms/auto-curseforge/#api-key
|
|
CF_API_KEY: ${CF_API_KEY}
|
|
CF_PAGE_URL: https://www.curseforge.com/minecraft/modpacks/roguelike-adventures-and-dungeons-2
|
|
# Optional: select a specific version/file
|
|
#CF_FILENAME_MATCHER: "0.2.34"
|
|
CF_EXCLUDE_MODS: |
|
|
# Exclude client-side mods not published correctly
|
|
creative-core
|
|
default-options
|
|
itemphysic-lite
|
|
konkrete
|
|
oauth
|
|
CF_FORCE_SYNCHRONIZE: "true"
|
|
MEMORY: 4G
|
|
volumes:
|
|
- mc-data:/data
|
|
- C:\Users\geoff\git\mc-image-helper\build\install\mc-image-helper:/usr/share/mc-image-helper:ro
|
|
|
|
volumes:
|
|
mc-data: {}
|