Uno-MC/docker-compose.yml

56 lines
1.4 KiB
YAML
Raw Permalink Normal View History

2024-08-21 22:54:57 +02:00
version: "3"
services:
uno:
image: itzg/minecraft-server
container_name: uno
restart: always
environment:
# What Server
EULA: "true"
TYPE: FABRIC
2024-08-21 23:53:27 +02:00
VERSION: 1.21.1
2024-08-21 22:54:57 +02:00
SERVER_NAME: uno
ONLINE_MODE: false
TZ: Europe/Berlin
2024-08-21 23:53:27 +02:00
2024-08-21 22:54:57 +02:00
# Server Properties
OVERRIDE_SERVER_PROPERTIES: true
ENABLE_COMMAND_BLOCK: true
GAMEMODE: adventure
FORCE_GAMEMODE: true
2024-08-21 23:53:27 +02:00
2024-08-21 22:54:57 +02:00
# RCON Setup
RCON_PASSWORD: garde-studios
BROADCAST_CONSOLE_TO_OPS: false
BROADCAST_RCON_TO_OPS: true
2024-08-21 23:53:27 +02:00
2024-08-21 22:54:57 +02:00
# Setup
FORCE_REDOWNLOAD: true
2024-08-21 23:53:27 +02:00
#MEMORY: 2G
2024-08-21 22:54:57 +02:00
INIT_MEMORY: 2G
MAX_MEMORY: 16G
USE_AIKAR_FLAGS: true
2024-08-21 23:53:27 +02:00
2024-08-21 22:54:57 +02:00
# World & Mod Data
#WORLD: https://file.cyperpunk.de/filebrowser/api/public/dl/4FDwjgd8
MODS_FILE: /extras/mods.txt
# Whitelisting Players
2024-08-21 23:53:27 +02:00
WHITELIST_FILE: https://git.cyperpunk.de/Garde-Studios/Uno-MC/raw/branch/main/whitelist.json
2024-08-21 22:54:57 +02:00
OVERRIDE_WHITELIST: false
ENFORCE_WHITELIST: false
2024-08-21 23:53:27 +02:00
2024-08-21 22:54:57 +02:00
# Operator Setup
2024-08-21 23:53:27 +02:00
OPS_FILE: https://git.cyperpunk.de/Garde-Studios/Uno-MC/raw/branch/main/ops.json
2024-08-21 22:54:57 +02:00
SYNC_SKIP_NEWER_IN_DESTINATION: false
ports:
- 30066:25565 # Connection Port
- 31066:25575 # Rcon
- 8123:8123 # Dynmap
- 9001:25585 # Fabric Exporter
volumes:
- ./data:/data
- ./mods.txt:/extras/mods.txt:ro
- ./config:/config
networks: {}