Skip to content

docker: bootstrap config on startup and include rootless container fixes#252

Merged
rightup merged 3 commits into
pyMC-dev:devfrom
yellowcooln:patch-2
May 18, 2026
Merged

docker: bootstrap config on startup and include rootless container fixes#252
rightup merged 3 commits into
pyMC-dev:devfrom
yellowcooln:patch-2

Conversation

@yellowcooln
Copy link
Copy Markdown
Contributor

Had old repo path, Changing to

pyMC-dev/pyMC_Repeater

@yellowcooln yellowcooln changed the title Update repository conditions in docker-publish.yml docker: bootstrap config on startup and include rootless container fixes May 18, 2026
@yellowcooln
Copy link
Copy Markdown
Contributor Author

  • Docker now behaves more like a normal upgraded install instead of a one-time bootstrap.

  • On container startup:

    • If config.yaml is missing or empty, it is created from config.yaml.example
    • If config.yaml already exists, it is merged with the latest example config using the same yq strategy as the normal upgrader
  • Merge behavior:

    • Existing user settings remain intact
    • Newly introduced config options are added automatically
    • Comments come from the example config, so the file stays clean instead of accumulating duplicated comment blocks over time
  • This keeps Docker users current with new config fields without overwriting their existing setup

  • The branch also includes the rootless Docker fixes from bplein’s upstream PR Updates to dockerfile for rootless container #248:

  • Container builds and runs as the unprivileged repeater user instead of root

@rightup rightup merged commit 193b428 into pyMC-dev:dev May 18, 2026
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.

2 participants