Skip to content

Commit

Permalink
Merge pull request #1579 from GiganticMinecraft/add_lobby_server
Browse files Browse the repository at this point in the history
fix bungee-config
  • Loading branch information
outductor authored Dec 21, 2023
2 parents 4b26d2f + a65c619 commit 1c2c274
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,22 @@ spec:
config.yml: |
servers:
{{- range . }}
debug-pr-{{ . }}:
debug-pr-{{ . }}-lobby:
address: mcserver--debug-lobby.seichi-debug-minecraft-on-seichiassist-pr-{{ . }}:25565
restricted: false
motd: ''
debug-pr-{{ . }}-s1:
address: mcserver--debug-s1.seichi-debug-minecraft-on-seichiassist-pr-{{ . }}:25565
restricted: false
motd: ''
{{- end }}
listeners:
- priorities:
# FIXME: PR が一個も出ていない時に壊れる。そもそもそのような状況で繋ぐサーバーを用意すべきかも
- debug-pr-{{ (index . 0) }}
- debug-pr-{{ (index . 0) }}-lobby
forced_hosts:
play-debug.seichi.click: debug-pr-{{ (index . 0) }}
play-debug.seichi.click: debug-pr-{{ (index . 0) }}-lobby
query_port: 25565
motd: ''
Expand Down

0 comments on commit 1c2c274

Please sign in to comment.