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

5
.gitignore vendored
View File

@@ -1,2 +1,5 @@
# Thats not even css why would you use that file extension???
config/emi.css
config/emi.css
# Docker compose
data/

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB