Skip to content

Commit

Permalink
Update config.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
UplandJacob authored Oct 12, 2024
1 parent eb8b773 commit ff1866f
Showing 1 changed file with 52 additions and 6 deletions.
58 changes: 52 additions & 6 deletions eaglercraft-relay/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,64 @@ slug: eaglercraft-relay
description: Relay for Eaglercraft
url: https://github.com/uplandjacob/upland-ha-addons/tree/main/eagercraft-relay
arch:
- armv7
- aarch64
- amd64
- i386
boot: manual
init: false
image: ghcr.io/uplandjacob/upland-ha-addons-eaglercraft-relay-{arch}
hassio_api: true
map:
- config
options:
test: ''
relayConfig:
address: 0.0.0.0
port: 80
code-length: 5
code-chars: abcdefghijklmnopqrstuvwxyz0123456789
code-mix-case: false
connections-per-ip: 128
ping-ratelimit-enable: true
ping-ratelimit-period: 256
ping-ratelimit-limit: 128
ping-ratelimit-lockout-limit: 192
ping-ratelimit-lockout-duration: 300
worlds-per-ip: 32
world-ratelimit-enable: true
world-ratelimit-period: 192
world-ratelimit-limit: 32
world-ratelimit-lockout-limit: 48
world-ratelimit-lockout-duration: 600
origin-whitelist:
real-ip-header-name: X-Real-IP
enable-real-ip-header: false
show-local-worlds: true
server-comment: Shared World Relay

schema:
test: match([a-z]+)
relayConfig:
address: str
port: int
code-length: int
code-chars: str
code-mix-case: bool
connections-per-ip: int
ping-ratelimit-enable: bool
ping-ratelimit-period: int
ping-ratelimit-limit: int
ping-ratelimit-lockout-limit: int
ping-ratelimit-lockout-duration: int
worlds-per-ip: int
world-ratelimit-enable: bool
world-ratelimit-period: int
world-ratelimit-limit: int
world-ratelimit-lockout-limit: int
world-ratelimit-lockout-duration: int
origin-whitelist:
- str
real-ip-header-name: str
enable-real-ip-header: bool
show-local-worlds: bool
server-comment: str

ports:
"80/tcp": 80
ports_description:
"80/tcp": "port for relay traffic"

0 comments on commit ff1866f

Please sign in to comment.