Skip to content

Commit

Permalink
fix bungee-config
Browse files Browse the repository at this point in the history
  • Loading branch information
outductor committed Dec 21, 2023
1 parent 7e17db9 commit a65c619
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 a65c619

Please sign in to comment.