- create a
serverfolder - Save the
docker-compose.ymlfile inside - Create a folder
data&modpacksat the same location with thedocker-compose.ymlfile. - Add the modpack server file as AS A ZIP that you downloaded from the https://www.curseforge.com/minecraft/modpacks/ website. In my case : https://www.curseforge.com/minecraft/modpacks/all-the-mods-8/download/4091807
- Change in the
docker-compose.ymlfile theGENERIC_PACKand change theSERVER_FILE_NAMEwith you server filename. - Add yourself as
OPS - Run the server with
docker compose up -d - You should be good to go !
Last active
February 1, 2024 02:57
-
-
Save Basti3n/f37600cd07c45fa1b8a2c81df1e7d426 to your computer and use it in GitHub Desktop.
Minecraft ALL THE MOD 8 / ATM8 - Docker (Compose) setup
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: '3.8' | |
| services: | |
| mc: | |
| image: itzg/minecraft-server:java17 | |
| volumes: | |
| - data:/data | |
| - ./modpacks:/modpacks:ro | |
| environment: | |
| EULA: "true" | |
| TYPE: FORGE | |
| VERSION: "1.19.2" | |
| FORGE_VERSION: "43.1.52" | |
| GENERIC_PACK: /modpacks/SERVER_FILE_NAME.zip | |
| OVERRIDE_SERVER_PROPERTIES: "TRUE" | |
| MAX_MEMORY: 16G | |
| MAX_PLAYERS: 10 | |
| MOTD: "Minecraft ATM 8" | |
| SPAWN_PROTECTION: 0 | |
| ENFORCE_WHITELIST: "false" | |
| OPS: USER | |
| DIFFICULTY: normal | |
| ports: | |
| - "25565:25565" | |
| volumes: | |
| data: {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment