minecraft-docker-server/development/main-compose.yml

55 lines
1.4 KiB
YAML
Raw Normal View History

2024-11-28 01:21:44 +01:00
services:
dev_server:
image: itzg/minecraft-server
container_name: dev_server
restart: always
environment:
# What Server
EULA: "true"
TYPE: FABRIC
VERSION: 1.21.1
SERVER_NAME: dev
ONLINE_MODE: false
TZ: Europe/Berlin
# Server Properties
OVERRIDE_SERVER_PROPERTIES: true
ENABLE_COMMAND_BLOCK: true
GAMEMODE: creative
FORCE_GAMEMODE: false
LEVEL_TYPE: minecraft:large_biomes
# RCON Setup
RCON_PASSWORD: garde-studios
BROADCAST_CONSOLE_TO_OPS: true
BROADCAST_RCON_TO_OPS: true
# Setup
FORCE_REDOWNLOAD: true
INIT_MEMORY: 500M
MAX_MEMORY: 1G
USE_AIKAR_FLAGS: true
# World & Mod Data
#WORLD:
SEED: -2202949464251781243
MODS_FILE: /extras/mods.txt
# Whitelisting Players
WHITELIST_FILE: https://git.cyperpunk.de/Garde-Studios/Uno-MC/raw/branch/main/whitelist.json
OVERRIDE_WHITELIST: true
ENFORCE_WHITELIST: false
# Operator Setup
OPS_FILE: https://git.cyperpunk.de/Garde-Studios/Uno-MC/raw/branch/main/ops.json
SYNC_SKIP_NEWER_IN_DESTINATION: false
ports:
- 30000:25565 # Connection Port
- 31066:25575 # Rcon
- 8090:8080 # Squaremap
- 9100:9100 # unified Exporter
volumes:
- ../main/data:/data
- ../main/squaremap:/data/squaremap
- ../main/mods.txt:/extras/mods.txt:ro
- ../main/config:/config