You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ran into a likely edge case where any modified changes to the settings.yml is immediately overwritten by the start-deployNanoLimbo bash script every time the container starts. This change fixed it for me.
The file is being rewritten every time on purpose in order to ensure container variables are applied, such as SERVER_PORT.
Can you describe your edge case?
I modified NanoLimbo's configuration using the /config bind mount with COPY_CONFIG_DEST=/data to add environment variable substitutions (e.g. infoForwarding.secret=${CFG_VELOCITY_SECRET}), but this setup would not work because start-setupMounts intentionally skips newer files in destination.
The other workaround seems to be making patch definitions. I am mostly abusing /config for continuity (since the servers were architected this way since 1.19).
Since SERVER_PORT is the only variable modified, is using mc-image-helper patch to place ${SERVER_PORT} in bind.port good in this case? This would still replace any manual edits for the bind.port but it would be more usable than replacing the entire file altogether.
itzg
changed the title
Do not overwrite existing settings.yml in scripts/start-deployNanoLimbo
Do not overwrite existing NanoLimbo settings.yml
Dec 12, 2025
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
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.
Ran into a likely edge case where any modified changes to the settings.yml is immediately overwritten by the
start-deployNanoLimbobash script every time the container starts. This change fixed it for me.