Skip to content

Commit

Permalink
TEST: mod support
Browse files Browse the repository at this point in the history
  • Loading branch information
wiemanboy committed Jan 17, 2025
1 parent 3e0d93c commit 885f797
Showing 1 changed file with 13 additions and 6 deletions.
19 changes: 13 additions & 6 deletions swarm-compose.minecraft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,31 +3,34 @@ services:
networks:
- reverse_proxy_network
- minecraft_network
image: itzg/minecraft-server
secrets:
- cf_api_key
image: itzg/minecraft-server:java8
tty: true
stdin_open: true
environment:
EULA: "TRUE"
MAX_MEMORY: "16G"
TYPE: "FABRIC"
VERSION: "SNAPSHOT"
TYPE: "FORGE"
VERSION: "1.12.2"
DIFFICULTY: "hard"
ICON: "https://jarnowieman.nl/api/files/minecraft/server_icon"
MOTD: "§l§5WiemanServer§r\n§rWelcome to my server!"
VANILLATWEAKS_SHARECODE: "cFTVFy,M6j9tu"
DATAPACKS: ""
CF_API_KEY: $${CF_API_KEY}
CF_PAGE_URL: "https://www.curseforge.com/minecraft/modpacks/rlcraft/files/4612979"
MAX_PLAYERS: "20"
SNOOPER_ENABLED: "false"
MAX_BUILD_HEIGHT: "256"
SPAWN_PROTECTION: "0"
VIEW_DISTANCE: "10"
LEVEL: "world"
LEVEL: "rlcraft"
ALLOW_FLIGHT: "TRUE"
SERVER_NAME: "WiemanServer"
PLAYER_IDLE_TIMEOUT: "0"
EXEC_DIRECTLY: "true"
ENABLE_WHITELIST: "true"
entrypoint: ["/bin/bash", "-c", "export CF_API_KEY=kaas && exec /start"]
volumes:
- ./data/minecraft:/data
ports:
Expand Down Expand Up @@ -66,4 +69,8 @@ services:
networks:
reverse_proxy_network:
external: true
minecraft_network:
minecraft_network:

secrets:
cf_api_key:
external: true

0 comments on commit 885f797

Please sign in to comment.