-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
107 lines (100 loc) · 3.18 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
100
101
102
103
104
105
106
107
version: "2"
networks:
backend:
services:
# Minecraft Network Proxy Server
mc-bungeecord:
image: itzg/bungeecord
container_name: mc_bungeecord
mem_limit: 2GB
environment:
BUNGEE_JAR_REVISION: "1"
CFG_MOTD: Powered by Docker
REPLACE_ENV_VARIABLES: "true"
SPIGET_PLUGINS: "241,8695,68956,80677,95509"
# External Download:
# - LuckPerms BungeeCord https://luckperms.net/download
ports:
- "25565:25577"
networks:
- backend
volumes:
- ./mc-bungeecord:/server
- ./mc-bungeecord/config.yml:/config/config.yml
# Minecraft Survival Server
mc-survival:
image: itzg/minecraft-server
container_name: mc_survival
mem_limit: 6GB
environment:
TYPE: "SPIGOT"
EULA: "TRUE"
MEMORY: ""
JVM_XX_OPTS: "-XX:MaxRAMPercentage=75"
ONLINE_MODE: "FALSE"
SPIGET_RESOURCES: "70616,7688,73997,34315,51856,16708,92546,28140,80677"
# External Download:
# - Emotecraft https://github.com/KosmX/emotes/releases/latest
# - 9089 EssentialsX https://essentialsx.net/downloads.html?branch=stable
# - 1884 GriefPrevention https://dev.bukkit.org/projects/grief-prevention/files/3173411
# - 93738 SimpleVoiceChat https://www.curseforge.com/minecraft/bukkit-plugins/simple-voice-chat/files/all
# - 1.19 Update-Issues 1997 ProtocolLib https://ci.dmulloy2.net/job/ProtocolLib/lastSuccessfulBuild/
#ports:
# - "24454:24454"
tty: true
stdin_open: true
restart: unless-stopped
networks:
- backend
volumes:
- ./mc-survival:/data
- ./logs/survival.log:/data/logs/latest.log
# Minecraft Lobby, Creative, Minigames Server
mc-main:
image: itzg/minecraft-server
container_name: mc_main
mem_limit: 6GB
environment:
TYPE: "PAPER"
EULA: "TRUE"
MEMORY: ""
JVM_XX_OPTS: "-XX:MaxRAMPercentage=75"
ONLINE_MODE: "FALSE"
SPIGET_RESOURCES: "390,6245,7688,25391,63714,70616,28140,1166,80677,53036"
# External Download:
# - Emotecraft https://github.com/KosmX/emotes/releases/latest
# - 51321 AntiCooldown https://www.spigotmc.org/resources/anticooldown-1-9-1-18.51321/
# - 77506 PlotSquared https://www.spigotmc.org/resources/plotsquared-v6.77506/
# - 13932 Fast Async WorldEdit https://ci.athion.net/job/FastAsyncWorldEdit-1.17/lastStableBuild/
ports:
- "60606:60606"
tty: true
stdin_open: true
restart: unless-stopped
networks:
- backend
volumes:
- ./mc-main:/data
- ./logs/main.log:/data/logs/latest.log
# Nginx Proxy for Mod-support
mc-mod-proxy:
image: nginx
container_name: mc_mod_proxy
ports:
- "24454:24454/udp" # Simple Voice Mod Port (Survival)
networks:
- backend
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
# MySQL for Minecraft-Plugin-Use
mc-mysql:
image: mysql
container_name: mc_mysql
networks:
- backend
environment:
MYSQL_ROOT_PASSWORD: development-password-todo
MYSQL_DATABASE: mc-btm
MYSQL_USER: minecraft
MYSQL_PASSWORD: development-minecraft-password-todo
command: --default-authentication-plugin=mysql_native_password