Skip to content

chore: remove internal host names from defaults and comments - #9

Merged
malken21 merged 2 commits into
mainfrom
chore/remove-internal-hostnames
Nov 17, 2026
Merged

malken21 merged 2 commits into
mainfrom
chore/remove-internal-hostnames

Conversation

@malken21

Copy link
Copy Markdown
Member

Removes internal container/service names from defaults, scripts, compose and comments.

Changes

  • ProxyConfig default clients-endpoint is now empty (the existing behaviour for an empty value is to not report). Existing config.properties files are not rewritten, so deployments that already have the file keep their current value.
  • ops/both-service/docker-compose.yaml: service toro-velocity renamed to velocity; container_name is ${VELOCITY_CONTAINER:?...}.
  • update_velocity.sh requires VELOCITY_CONTAINER; ops/toroserver scripts require MC_CONTAINER (lib.sh stops with a message when unset). docker compose stop <service> replaced with docker stop "$MC_CONTAINER".
  • test-ops.sh adjusted, with checks that missing variables stop the scripts; compose workflow passes a check value.
  • Comments and plugin description reworded.

Environment variables to supply on the host: VELOCITY_CONTAINER, MC_CONTAINER (and clients-endpoint in config.properties if reporting is wanted on a fresh install).
Note: because the compose service name changed, the existing Velocity container must be removed once (when nobody is online) before docker compose up -d creates it under the new service name.

- ProxyConfig: clients-endpoint now defaults to empty (nothing is reported until it is set)
- ops/both-service: compose service renamed to "velocity"; container_name comes from VELOCITY_CONTAINER (required); update_velocity.sh reads the same variable
- ops/toroserver: game server container name comes from MC_CONTAINER (required, set in the environment or ops.env)
- test-ops.sh and the compose workflow updated for the new variables, with tests that missing variables stop the scripts
- comments and plugin description use generic wording
@malken21
malken21 merged commit 6bc6c4b into main Nov 17, 2026
2 checks passed
@malken21
malken21 deleted the chore/remove-internal-hostnames branch November 17, 2026 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant