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

55 lines
1.4 KiB
YAML
Raw Normal View History

2024-11-28 01:21:44 +01:00
services:
fallback:
image: itzg/minecraft-server
container_name: dev_fallback
restart: always
environment:
# What Server
EULA: "true"
TYPE: FABRIC
VERSION: 1.21.1
SERVER_NAME: uno
ONLINE_MODE: false
TZ: Europe/Berlin
# Server Properties
OVERRIDE_SERVER_PROPERTIES: true
ENABLE_COMMAND_BLOCK: true
GAMEMODE: creative
FORCE_GAMEMODE: false
# RCON Setup
RCON_PASSWORD: garde-studios
BROADCAST_CONSOLE_TO_OPS: true
BROADCAST_RCON_TO_OPS: true
# Setup
FORCE_REDOWNLOAD: true
#MEMORY: 2G
INIT_MEMORY: 500M
MAX_MEMORY: 1G
USE_AIKAR_FLAGS: true
# World & Mod Data
WORLD: https://file.cyperpunk.de/filebrowser/api/public/dl/4FDwjgd8/lobby.zip
#SEED: 795488740
MODS_FILE: /extras/mods.txt
# Whitelisting Players
WHITELIST_FILE: /extras/whitelist.json
OVERRIDE_WHITELIST: true
ENFORCE_WHITELIST: false
# Operator Setup
OPS_FILE: /extras/ops.json
SYNC_SKIP_NEWER_IN_DESTINATION: false
ports:
- 30001:25565 # Connection Port
- 9101:9100 # unified Exporter
volumes:
- ../fallback/data:/data
- ../fallback/mods.txt:/extras/mods.txt:ro
- ../fallback/ops.json:/extras/ops.json:ro
- ../fallback/whitelist.json:/extras/whitelist.json:ro
- ../fallback/config:/config