-
Notifications
You must be signed in to change notification settings - Fork 36
/
docker-compose.yml
125 lines (122 loc) · 2.55 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
version: '3.7'
networks:
seichi:
external: false
volumes:
spigot_a:
spigot_b:
db-data:
redis-data:
services:
spigota:
build:
context: .
dockerfile: ./docker/spigot/Dockerfile
networks:
- seichi
volumes:
- spigot_a:/data
ports:
- "25566:25565"
- "7091:7091"
environment:
- VERSION=1.12.2
- EULA=TRUE
- TYPE=SPIGOT
- ONLINE_MODE=FALSE
- ENABLE_JMX=true
- JMX_PORT=7091
- JMX_BINDING=0.0.0.0
- JMX_HOST=localhost
- SERVER_NUM=1
- SERVER_ID=s1
- DB_HOST=db
- DB_PASSWORD=unchamaisgod
- REDIS_HOST=redis
- REDIS_PORT=6379
depends_on:
- db
- redis
stdin_open: true
spigotb:
build:
context: .
dockerfile: ./docker/spigot/Dockerfile
networks:
- seichi
volumes:
- spigot_b:/data
ports:
- "25567:25565"
- "7092:7091"
environment:
- VERSION=1.12.2
- EULA=TRUE
- TYPE=SPIGOT
- ONLINE_MODE=FALSE
- ENABLE_JMX=true
- JMX_PORT=7091
- JMX_BINDING=0.0.0.0
- JMX_HOST=localhost
- SERVER_NUM=2
- SERVER_ID=s2
- DB_HOST=db
- DB_PASSWORD=unchamaisgod
- REDIS_HOST=redis
- REDIS_PORT=6379
depends_on:
- db
- redis
stdin_open: true
bungeecord:
image: itzg/bungeecord:java8
ports:
- "25565:25577"
volumes:
- ./docker/bungeecord/serverfiles:/config
- ./docker/bungeecord/serverfiles/redisbungee/config.yml:/plugins/RedisBungee/config.yml
networks:
- seichi
environment:
- PLUGINS=https://github.com/ProxioDev/RedisBungee/releases/download/0.10.1/RedisBungee-Bungee-0.10.1-SNAPSHOT.jar
depends_on:
- spigota
- spigotb
stdin_open: true
phpmyadmin:
image: phpmyadmin/phpmyadmin:4.8.5
environment:
- TZ=Asia/Tokyo
- PMA_ARBITRARY=1
- PMA_HOST=db
- PMA_PORT=3306
- PMA_USER=root
- PMA_PASSWORD=unchamaisgod
networks:
- seichi
ports:
- "8080:80"
depends_on:
- db
redis:
image: "ghcr.io/giganticminecraft/bungeesemaphore-redis-dev:e57e9e7"
networks:
- seichi
volumes:
- redis-data:/data
db:
image: mariadb:10.6.5
environment:
- TZ=Asia/Tokyo
- MYSQL_ROOT_PASSWORD=unchamaisgod
command: [
'--wait_timeout=86400',
]
networks:
- seichi
restart: always
volumes:
- db-data:/var/lib/mysql
- ./docker/config/mysql:/etc/mysql/conf.d
ports:
- "3306:3306"