forked from Garde-Studios/new
57 lines
1.5 KiB
YAML
57 lines
1.5 KiB
YAML
services:
|
|
server:
|
|
image: itzg/minecraft-server
|
|
container_name: new
|
|
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: survival
|
|
FORCE_GAMEMODE: true
|
|
LEVEL_TYPE: minecraft:large_biomes
|
|
|
|
# RCON Setup
|
|
RCON_PASSWORD: garde-studios
|
|
BROADCAST_CONSOLE_TO_OPS: false
|
|
BROADCAST_RCON_TO_OPS: true
|
|
|
|
# Setup
|
|
FORCE_REDOWNLOAD: true
|
|
#MEMORY: 2G
|
|
INIT_MEMORY: 2G
|
|
MAX_MEMORY: 16G
|
|
USE_AIKAR_FLAGS: true
|
|
|
|
# World & Mod Data
|
|
#WORLD: https://file.cyperpunk.de/filebrowser/api/public/dl/4FDwjgd8
|
|
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:
|
|
- 30066:25565 # Connection Port
|
|
- 31066:25575 # Rcon
|
|
- 8080:8080 # Squaremap
|
|
- 9001:25585 # Fabric Exporter
|
|
volumes:
|
|
- ./data:/data
|
|
- ./squaremap:/data/squaremap
|
|
- ./mods.txt:/extras/mods.txt:ro
|
|
- ./config:/config
|
|
|
|
networks: {}
|