-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
84 lines (76 loc) · 1.59 KB
/
docker-compose.yaml
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# Usage:
# docker compose up --build --detach
# docker compose logs --tail 100 --follow
x-common-args: &x-common-args
MC_VERSION: 1.18-rc4
VT_VERSION: 1.17
VT_DATAPACKS: '
{
"survival": [
"fast leaf decay",
"afk display",
"multiplayer sleep",
"graves",
"durability ping",
"track raw statistics",
"villager workstation highlights"
],
"items": [
"armored elytra",
"player head drops"
],
"mobs": [
"dragon drops",
"more mob heads",
"silence mobs",
"villager death messages"
],
"hermitcraft": [
"wandering trades"
]
}'
VT_CRAFTING: '
{
"quality of life": [
"dropper to dispenser",
"rotten flesh to leather",
"universal dyeing"
]
}'
LEGACY_ADVANCEMENTS: 'true'
x-rcon-env: &x-rcon-env
ENABLE_RCON: 'true'
RCON_PASSWORD: 1e39d9107c690b3b447d1896b11c8f6a
services:
mc-server:
build:
context: ./src
args:
<<: *x-common-args
IMAGE: optimised-server
restart: unless-stopped
environment:
<<: *x-rcon-env
ACCEPT_EULA: 'true'
SEED: Wollongang
volumes:
- minecraft:/app/minecraft
ports:
- 25565:25565
world-backup:
build:
context: ./src
args:
<<: *x-common-args
IMAGE: world-backup
restart: unless-stopped
environment:
<<: *x-rcon-env
volumes:
- minecraft:/app/minecraft
- backups:/app/backups
links:
- mc-server
volumes:
minecraft:
backups: