-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.minecraft.yaml
121 lines (113 loc) · 2.51 KB
/
docker-compose.minecraft.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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
version: "3"
networks:
minecraft:
ipam:
config:
- subnet: 192.168.1.0/24
gateway: 192.168.1.1
services:
infrared:
container_name: infrared
image: ghcr.io/haveachin/infrared:latest
environment:
INFRARED_CONFIG_PATH: "/configs"
ports:
- 25565:25565/tcp
networks:
- minecraft
tty: true
stdin_open: true
restart: unless-stopped
volumes:
- ./infrared:/configs
minecraft_vanilla:
container_name: minecraft-vanilla
image: itzg/minecraft-server:java21
environment:
EULA: "TRUE"
MAX_MEMORY: "12G"
VERSION: "1.20.6"
volumes:
- ./minecraft_spigot:/data
networks:
- minecraft
minecraft_spigot:
container_name: minecraft-spigot
image: itzg/minecraft-server:java21
environment:
EULA: "TRUE"
MAX_MEMORY: "12G"
TYPE: "SPIGOT"
VERSION: "1.20.6"
tty: true
stdin_open: true
restart: unless-stopped
volumes:
- ./minecraft_spigot:/data
networks:
- minecraft
minecraft_spigot_back:
container_name: minecraft-spigot-back
image: itzg/minecraft-server
environment:
EULA: "TRUE"
MAX_MEMORY: "12G"
TYPE: "SPIGOT"
VERSION: "1.20.1"
tty: true
stdin_open: true
restart: unless-stopped
volumes:
- ./minecraft_spigot_back:/data
networks:
- minecraft
minecraft_spigot_opti:
container_name: minecraft-spigot-opti
image: itzg/minecraft-server
ports:
- 19132:19132
environment:
EULA: "TRUE"
MAX_MEMORY: "12G"
TYPE: "SPIGOT"
VERSION: "1.20.4"
tty: true
stdin_open: true
restart: unless-stopped
volumes:
- ./minecraft_spigot_opti:/data
networks:
- minecraft
minecraft_forge:
container_name: minecraft-forge
image: itzg/minecraft-server
environment:
EULA: "TRUE"
MAX_MEMORY: "14G"
TYPE: "FORGE"
VERSION: "1.19"
FORGE_VERSION: "41.1.0"
tty: true
stdin_open: true
restart: unless-stopped
volumes:
- ./minecraft_forge:/data
networks:
- minecraft
minecraft_fabric:
container_name: minecraft-fabric
image: itzg/minecraft-server
environment:
EULA: "TRUE"
MAX_MEMORY: "14G"
TYPE: "FABRIC"
VERSION: "1.20.1"
FABRIC_LOADER_VERSION: "0.15.11"
FABRIC_LAUNCHER_VERSION: "1.0.1"
tty: true
stdin_open: true
restart: unless-stopped
volumes:
- ./minecraft_fabric:/data
networks:
- minecraft