6811caeab1
entrypoint.sh validates/selects among lsx blaze roster utas pow and skips unselected responders (errors if none). docker-compose threads the env through; .env.example documents it. Retained pre-existing WIP verified.
34 lines
1.9 KiB
Bash
34 lines
1.9 KiB
Bash
# Copy to .env in this directory. Required for remote deployment.
|
|
#
|
|
# OPENFUT_ADVERTISE — the address of THIS host as seen from the game machine
|
|
# (105). The responders advertise it to the client for every next hop (Blaze,
|
|
# roster, UTAS, POW). Compose refuses to start without it.
|
|
OPENFUT_ADVERTISE=203.0.113.10 # <- REPLACE with this host's LAN IP
|
|
|
|
# OPENFUT_BIND — address the listeners bind inside the container.
|
|
# Defaults to 0.0.0.0 (container-facing); the original all-on-localhost flow
|
|
# uses the loopback default baked into the responders when unset.
|
|
OPENFUT_BIND=0.0.0.0
|
|
|
|
# OPENFUT_SERVERS — which Python responders Docker runs (space/comma separated).
|
|
# Default (unset) = the server-side set: "blaze roster utas pow".
|
|
#
|
|
# This host is the SERVER (.120). Docker runs ONLY components that have NOT been
|
|
# migrated to a Rust host. During migration the Rust hosts (redirector / roster
|
|
# / utas) run OUTSIDE Docker; as each Python component is replaced, remove its
|
|
# name here so the two never serve the same role at once.
|
|
# blaze Blaze redirector + main + nucleus (bundled) :42127 :42130 :42131
|
|
# roster FUT roster-update XML :8081
|
|
# utas FUT/UTAS RS4 API :8099
|
|
# (Rust utas-host still proxies its non-/club routes here for now)
|
|
# pow POW / EASFC :8094 (+ content :8080)
|
|
# lsx Origin LSX bootstrap :4216
|
|
# CLIENT-SIDE: LSX runs on the game machine (.105) with autopatch, NOT
|
|
# on this server. Leave it OUT unless client and server share one box.
|
|
#
|
|
# Example — Rust already owns roster, so Docker should not also serve it:
|
|
# OPENFUT_SERVERS=blaze utas pow
|
|
# When you drop a component, also stop advertising / DNAT'ing its port to this
|
|
# container so the client is routed to the Rust host instead.
|
|
#OPENFUT_SERVERS=blaze roster utas pow
|