Repository navigation
chore: remove internal host names from defaults and comments - #9
Merged
Merged
Conversation
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Removes internal container/service names from defaults, scripts, compose and comments.
Changes
clients-endpointis now empty (the existing behaviour for an empty value is to not report). Existingconfig.propertiesfiles are not rewritten, so deployments that already have the file keep their current value.toro-velocityrenamed tovelocity;container_nameis${VELOCITY_CONTAINER:?...}.VELOCITY_CONTAINER; ops/toroserver scripts requireMC_CONTAINER(lib.sh stops with a message when unset).docker compose stop <service>replaced withdocker stop "$MC_CONTAINER".Environment variables to supply on the host:
VELOCITY_CONTAINER,MC_CONTAINER(andclients-endpointin 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 -dcreates it under the new service name.