-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
40 lines (40 loc) · 1021 Bytes
/
docker-compose.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
services:
server:
image: itzg/minecraft-server
environment:
- "EULA=TRUE"
- "VERSION=1.18.2"
- "TYPE=PAPER"
- "MOTD=§rya!"
- "DIFFICULITY=HARD"
- "WHITELIST_FILE=/extra/whitelist.json"
- "OPS_FILE=/extra/ops.json"
- "ICON=https://yt3.ggpht.com/ytc/AKedOLTzHrW_vO6UIjhohr87y3A3fuxOriJjKM2ugaxS=s900-c-k-c0x00ffffff-no-rj"
- "ENABLE_RCON=TRUE"
- "RCON_PASSWORD=4444"
- "SPAWN_PROTECTION=FALSE"
- "MEMORY=4G"
- "TUNE_VIRTUALIZED=TRUE"
- "TZ=Asia/Tokyo"
- "USE_AIKAR_FLAGS=TRUE"
ports:
- 25565:25565
- 25575:25575
# for dynmap
- 8123:8123
restart: unless-stopped
stdin_open: TRUE
tty: TRUE
volumes:
- type: bind
source: ./mc_data
target: /data
- type: bind
source: ./plugins
target: /data/plugins
- type: bind
source: ./config
target: /data/config
- type: bind
source: ./extra
target: /extra