forked from simibubi/Above-and-Beyond
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
37 lines (32 loc) · 1.1 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
services:
mc:
image: itzg/minecraft-server:java8
volumes:
- ./modpacks:/modpacks:ro
- ./data:/data
environment:
# Accept the EULA, yay! \o/
EULA: true
# Set modpack type, Minecraft version and server zip
TYPE: CURSEFORGE
VERSION: 1.16.5
CF_SERVER_MOD: /modpacks/Above-and-Beyond-1.3.3-server.zip
USE_MODPACK_START_SCRIPT: false # there's no start script for this modpack
# Configure Server
MEMORY: 12G
SNOOPER_ENABLED: false
ENABLE_WHITELIST: true
USE_AIKAR_FLAGS: true
# Turn off RCON and use the cli to send admin commands
# See https://docker-minecraft-server.readthedocs.io/en/latest/commands/#when-rcon-is-disabled
ENABLE_RCON: false
CREATE_CONSOLE_IN_PIPE: true
# Auto-stop the Minecraft Server when no players are online
# Note: this does not stop the machine, just the MC server
ENABLE_AUTOSTOP: true
AUTOSTOP_TIMEOUT_EST: 180 # seconds
AUTOSTOP_TIMEOUT_INIT: 480 # seconds
# Gameplay configuration
DIFFICULTY: normal
ports:
- 25565:25565