forked from DockerizedCraft/Core
-
Notifications
You must be signed in to change notification settings - Fork 1
/
server-updater.yml
66 lines (56 loc) · 2.22 KB
/
server-updater.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
# Is the Server update enabled?
# Type: Boolean
enabled: true
# Extra output
# Type: Boolean
debug: false
# Container events actions to listen on for adding server
# i.e.: "start", "health-status: healthy"
# Recommended "start", "bootstrap" and health checks
# the "bootstrap" events is triggered when connectionbalancer starts to register all running containers. Should ne be removed
# If you want to add only healthy containers be aware of removing "start" action
# @see https://docs.docker.com/engine/reference/commandline/events/#object-types
# Type: List
add-actions:
- "bootstrap"
- "start"
- "health_status: healthy"
- "unpause"
# Container events actions to listen on for remving server
# i.e.: "kill", "die"
# Recommended "die" and health checks
# If you want to remove unhealthy containers add i.e: "health_status: unhealthy"
# @see https://docs.docker.com/engine/reference/commandline/events/#object-types
# Type: List
remove-actions:
- "kill"
- "die"
- "stop"
- "pause"
# Environment variables of the containers
# Type: Section
environment-variables:
# The events listener will only add server with the defined environment variable
# ie. docker run -e TYPE=minecraft_spigot my_server
# Type: String
identifier: TYPE
# Be default the first exposed port is taken if the container exposes multiple ports you can
# set it by setting the PORT environment variable in the container
# If you exposed multiple ports its highly recommended to set the environment variable
# Type: String
port: SERVER_PORT
# Setting the motd in the Bungeecord setting
# i.e. docker run -e SERVER_FORCED_HOST="Another Minecraft Server" playerworld:latest
# Type: String
motd: SERVER_MOTD
# Setting the server to restricted
# If not set it is false, only excepts: "restricted" or "unrestricted"
# i.e. docker run -e SERVER_RESTRICTED=true playerworld:latest
# Type: String
restricted: SERVER_RESTRICTED
# Each server name needs to be unique
# If you are not able to control if it is unique (autoscaling or whatever) you should not set it in your container
# If you do not set the environment variable the container name itself will be used
# Two server with the same name will overwrite each other
# Type: String
name: SERVER_NAME