new/fallback/compose.yml

56 lines
1.4 KiB
YAML
Raw Normal View History

2024-11-06 22:29:57 +01:00
services:
2024-11-10 19:26:26 +01:00
server:
2024-11-06 22:29:57 +01:00
image: itzg/minecraft-server
container_name: fallback
2024-11-06 22:29:57 +01:00
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: adventure
2024-11-06 22:29:57 +01:00
FORCE_GAMEMODE: true
2024-11-10 19:04:59 +01:00
2024-11-06 22:29:57 +01:00
# 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: 4G
2024-11-06 22:29:57 +01:00
USE_AIKAR_FLAGS: true
# World & Mod Data
WORLD: https://file.cyperpunk.de/filebrowser/api/public/dl/4FDwjgd8/lobby.zip
#SEED: 795488740
2024-11-06 22:29:57 +01:00
MODS_FILE: /extras/mods.txt
# Whitelisting Players
WHITELIST_FILE: /extras/whitelist.json
2024-11-10 19:04:59 +01:00
OVERRIDE_WHITELIST: true
2024-11-06 22:29:57 +01:00
ENFORCE_WHITELIST: false
# Operator Setup
OPS_FILE: /extras/ops.json
2024-11-06 22:29:57 +01:00
SYNC_SKIP_NEWER_IN_DESTINATION: false
ports:
- 30000:25565 # Connection Port
- 9100:9100 # unified Exporter
2024-11-06 22:29:57 +01:00
volumes:
- ./data:/data
- ./mods.txt:/extras/mods.txt:ro
- ./ops.json:/extras/ops.json:ro
- ./whitelist.json:/extras/whitelist.json:ro
2024-11-06 22:29:57 +01:00
- ./config:/config
networks: {}