-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
99 lines (91 loc) · 2.29 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
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
version: "3.8"
volumes:
mc-data:
backups:
mosquitto-data:
mosquitto-logs:
web:
services:
minecraft1:
image: itzg/minecraft-bedrock-server:2022.1.0
container_name: minecraft1
restart: "unless-stopped"
environment:
EULA: "TRUE"
SERVER_NAME: "bds-integration-test"
GAMEMODE: "survival"
DIFFICULTY: "hard"
LEVEL_NAME: "bds-test"
LEVEL_TYPE: "default"
ALLOW_CHEATS: "false"
VERSION: LATEST
ports:
- 19132:19132/udp
volumes:
- mc-data:/data
stdin_open: true
tty: true
labels:
- minecraft_bedrock_server=true
backup:
image: kaiede/minecraft-bedrock-backup
container_name: backup
restart: "unless-stopped"
depends_on:
- "minecraft1"
environment:
TZ: "America/New_York"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- backups:/backups
- mc-data:/minecraft1
- ./backup_config.yml:/backups/config.yml
labels:
- minecraft_backup_server=true
stdin_open: true
tty: true
webhook:
image: ghcr.io/edward3h/mc-webhook:0.4.1
restart: "unless-stopped"
depends_on:
- messages
# environment:
# - LOGGER_LEVELS_ORG_ETHELRED=TRACE
# - LOGGER_LEVELS_ORG_ECLIPSE_PAHO=DEBUG
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./webhook_config.yml:/config.yml
messages:
image: eclipse-mosquitto:2
restart: "unless-stopped"
volumes:
- ./mosquitto.conf:/mosquitto/config/mosquitto.conf:ro
- mosquitto-data:/mosquitto/data
- mosquitto-logs:/mosquitto/log
message_test:
image: eclipse-mosquitto:2
restart: "unless-stopped"
depends_on:
- messages
command: "mosquitto_sub -h messages -I message_logger -F '\e[92m%t \e[96m%p\e[0m' -q 0 -t '#'"
map_builder:
image: ghcr.io/edward3h/bedrock-viz-from-backups:v0.2
restart: "unless-stopped"
depends_on:
- messages
volumes:
- backups:/backups
- /tmp:/data
- web:/web
environment:
- MQTT_SERVER_HOST=messages
- MQTT_SUBSCRIBE_TOPIC=mc-webhook
- MQTT_PUBLISH_TOPIC=mc-maps
- WEB_HOST_TARGET=/web
map_server:
image: halverneus/static-file-server:v1.8.5
restart: "unless-stopped"
volumes:
- web:/web
ports:
- "8080:8080"