-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathminecraft_java.yaml
63 lines (63 loc) · 1.09 KB
/
minecraft_java.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
name: minecraft_java
image: itzg/minecraft-server:latest
url: https://github.com/itzg/docker-minecraft-server
ratio: "1-2"
sizes:
xs:
resources:
cpu: 1000m
memory: 2000Mi
players: 8
s:
resources:
cpu: 1500m
memory: 4000Mi
players: 16
m:
resources:
cpu: 2000m
memory: 8000Mi
players: 32
l:
resources:
cpu: 3000m
memory: 16000Mi
players: 64
xl:
resources:
cpu: 4000m
memory: 32000Mi
players: 128
network:
- name: game
port: 25565
protocol: tcp
settings:
- name: EULA
value: "TRUE"
- name: VERSION
value: "{{ .version }}"
- name: TYPE
value: "{{ .modLoader }}"
- name: MAX_PLAYERS
value: "{{ .players }}"
- name: MOTD
value: "{{ .name }}"
volumes:
- name: data
path: "/data"
size: 10Gi
probes:
command:
- mc-health
startupProbe:
initialDelaySeconds: 90
failureThreshold: 30
periodSeconds: 10
readinessProbe:
periodSeconds: 5
failureThreshold: 20
successThreshold: 3
livenessProbe:
periodSeconds: 5
failureThreshold: 20