-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
executable file
·59 lines (57 loc) · 2.5 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
services:
bedrock-server:
build: ./server
image: owentruong/bedrock-server:latest
volumes:
- current-world:/server/bedrock-server/worlds
- ${BACKUP_PATH:-./backups}:/backups
ports:
- "19132:19132"
environment:
- SERVER_NAME=${SERVER_NAME:-Dedicated\ Server}
- GAMEMODE=${GAMEMODE:-survival}
- FORCE_GAMEMODE=${FORCE_GAMEMODE:-false}
- DIFFICULTY=${DIFFICULTY:-normal}
- ALLOW_CHEATS=${ALLOW_CHEATS:-true}
- MAX_PLAYER=${MAX_PLAYER:-10}
- ONLINE_MODE=${ONLINE_MODE:-true}
- ALLOW_LIST=${ALLOW_LIST:-false}
- SERVER_PORT=${SERVER_PORT:-19132}
- SERVER_PORTV6=${SERVER_PORTV6:-19133}
- ENABLE_LAN_VISIBILITY=${ENABLE_LAN_VISIBILITY:-true}
- VIEW_DISTANCE=${VIEW_DISTANCE:-32}
- TICK_DISTANCE=${TICK_DISTANCE:-4}
- PLAYER_IDLE_TIMEOUT=${PLAYER_IDLE_TIMEOUT:-0}
- MAX_THREADS=${MAX_THREADS:-0}
- LEVEL_NAME=${LEVEL_NAME:-Bedrock\ level}
- LEVEL_SEED=${LEVEL_SEED:-}
- DEFAULT_PLAYER_PERMISSION_LEVEL=${DEFAULT_PLAYER_PERMISSION_LEVEL:-member}
- TEXTUREPACK_REQUIRED=${TEXTUREPACK_REQUIRED:-true}
- CONTENT_LOG_FILE_ENABLED=${CONTENT_LOG_FILE_ENABLED:-false}
- COMPRESSION_THRESHOLD=${COMPRESSION_THRESHOLD:-1}
- COMPRESSION_ALGORITHM=${COMPRESSION_ALGORITHM:-zlib}
- SERVER_AUTHORITATIVE_MOVEMENT=${SERVER_AUTHORITATIVE_MOVEMENT:-server-auth}
- PLAYER_MOVEMENT_SCORE_THRESHOLD=${PLAYER_MOVEMENT_SCORE_THRESHOLD:-20}
- PLAYER_MOVEMENT_ACTION_DIRECTION_THRESHOLD=${PLAYER_MOVEMENT_ACTION_DIRECTION_THRESHOLD:-0.85}
- PLAYER_MOVEMENT_DISTANCE_THRESHOLD=${PLAYER_MOVEMENT_DISTANCE_THRESHOLD:-0.3}
- PLAYER_MOVEMENT_DURATION_THRESHOLD_IN_MS=${PLAYER_MOVEMENT_DURATION_THRESHOLD_IN_MS:-500}
- CORRECT_PLAYER_MOVEMENT=${CORRECT_PLAYER_MOVEMENT:-false}
- SERVER_AUTHORITATIVE_BLOCK_BREAKING=${SERVER_AUTHORITATIVE_BLOCK_BREAKING:-false}
- CHAT_RESTRICTION=${CHAT_RESTRICTION:-None}
- DISABLE_PLAYER_INTERACTION=${DISABLE_PLAYER_INTERACTION:-false}
create-backups:
build: ./backup-manager
image: owentruong/bedrock-server-create-backups:latest
volumes:
- current-world:/current
- ${BACKUP_PATH:-./backups}:/backups
environment:
- BACKUP_PATH=/backups
- CURRENT_WORLD_PATH=/current
- BACKUP_TIME=${BACKUP_TIME:-5}
- NUM_OF_BACKUPS=${NUM_OF_BACKUPS:-15}
- LEVEL_NAME=${LEVEL_NAME:-Bedrock level}
- USE_THIS_WORLD=${USE_THIS_WORLD:-}
volumes:
current-world:
name: current-world