Skip to content

Commit

Permalink
ADD: dynmap to mc server
Browse files Browse the repository at this point in the history
  • Loading branch information
wiemanboy committed Jan 17, 2025
1 parent 550413a commit d3e308a
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,27 +3,29 @@ services:
networks:
- reverse_proxy_network
- minecraft_network
image: itzg/minecraft-server:java8
image: itzg/minecraft-server:latest
tty: true
stdin_open: true
environment:
EULA: "TRUE"
MAX_MEMORY: "16G"
TYPE: "AUTO_CURSEFORGE"
VERSION: "1.12.2"
TYPE: "PAPER"
VERSION: "LATEST"
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_PAGE_URL: "https://www.curseforge.com/minecraft/modpacks/rlcraft/files/4612979"
# CF_PAGE_URL: "https://www.curseforge.com/minecraft/modpacks/rlcraft/files/4612979"
CF_API_KEY: %%CF_API_KEY%%
CURSEFORGE_FILES: |
https://www.curseforge.com/minecraft/bukkit-plugins/dynmap/files/6090792
MAX_PLAYERS: "20"
SNOOPER_ENABLED: "false"
MAX_BUILD_HEIGHT: "256"
SPAWN_PROTECTION: "0"
VIEW_DISTANCE: "10"
LEVEL: "rlcraft"
LEVEL: "world"
ALLOW_FLIGHT: "TRUE"
SERVER_NAME: "WiemanServer"
PLAYER_IDLE_TIMEOUT: "0"
Expand All @@ -32,7 +34,8 @@ services:
volumes:
- ./data/minecraft:/data
ports:
- "25565:25565"
- ":25565"
- ":8123"
deploy:
resources:
limits:
Expand All @@ -44,6 +47,10 @@ services:
- traefik.tcp.routers.minecraft.rule=HostSNI(`*`)
- traefik.tcp.routers.minecraft.entrypoints=minecraft

- traefik.http.routers.minecraft.rule=Host(`mc.wiemanboy.com`)
- traefik.http.routers.minecraft.entrypoints=websecure
- traefik.http.routers.minecraft.tls.certresolver=wiemanboycom-resolver

minecraft-backups:
networks:
- minecraft_network
Expand Down

0 comments on commit d3e308a

Please sign in to comment.