-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-multi-server.yml
47 lines (44 loc) · 1.17 KB
/
docker-compose-multi-server.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
services:
server1:
image: itzg/minecraft-server:java21-jdk
tty: true
stdin_open: true
privileged: true
environment:
EULA: "TRUE"
TYPE: "PAPER"
LEVEL_TYPE: "FLAT"
MODE: "CREATIVE"
ONLINE_MODE: "FALSE"
# MODRINTH_PROJECTS: 1u6JkXh5
SPIGET: 28140
SKIP_SUDO: true
volumes:
- ./data/servers/server1:/data
server2:
image: itzg/minecraft-server:java21-jdk
tty: true
stdin_open: true
privileged: true
environment:
EULA: "TRUE"
TYPE: "PAPER"
LEVEL_TYPE: "FLAT"
MODE: "CREATIVE"
ONLINE_MODE: "FALSE"
# MODRINTH_PROJECTS: 1u6JkXh5
SPIGET: 28140
SKIP_SUDO: true
volumes:
- ./data/servers/server2:/data
velocity:
image: itzg/bungeecord
tty: true
stdin_open: true
ports:
- "25565:25577"
environment:
TYPE: "VELOCITY"
DEBUG: "false"
volumes:
- ./data/servers/velocity:/server