added docker compose file

This commit is contained in:
2024-09-28 23:27:09 +02:00
parent b581c65fd9
commit eaadbe1475
3 changed files with 35 additions and 1 deletions

View File

@@ -0,0 +1,31 @@
services:
mc:
container_name: boundless-mc
image: itzg/minecraft-server
tty: true
stdin_open: true
restart: always
ports:
- "25565:25565"
- "24454:24454/udp"
environment:
EULA: "TRUE"
MEMORY: "4g"
MOD_PLATFORM: MODRINTH
MODRINTH_MODPACK: ScTwzzH2
MODRINTH_DEFAULT_VERSION_TYPE: beta
MODRINTH_EXCLUDE_FILES: |
sound
sodium-extra
watermedia
world-host
MODRINTH_OVERRIDES_EXCLUSIONS: |
resourcepacks/*
shaderpacks/*
SERVER_NAME: "A Boundless Horizons Modpack Server"
MOTD: "\u00a72A\u00a76 Boundless \u00a71Horizons \u00a72Modpack Server"
DIFFICULTY: "NORMAL"
SPAWN_PROTECTION: "0"
volumes:
# attach the relative directory 'data' to the container's /data path
- ./data:/data