Hacker News new | ask | show | jobs
by Someone 1194 days ago
You wrote “sometimes, I have to update the docker-compose.yml on the unit, or add a library, or change something outside of the unit.”

and “I am looking for something as simple as alembic, but obviously to run scripts not DB migrations.”

I don’t see how having to run scripts follows from the first. Can’t you put the stuff that lives outside docker images in a git repo and pull changes from that?

Initial install would be a git clone and updates a git pull (maybe with a reboot to make sure nothing is running that’s using outdated stuff)

1 comments

The repo will provide a way to pull new scripts for new updates.

But I would still need the framework to iterate through all of them

I think you either didn’t mention some requirement, or are too focused on “I need to run scripts to do these updates” because that’s what you use now.

To do “sometimes, I have to update the docker-compose.yml on the unit, or add a library, or change something outside of the unit.”, I don’t see what else than git pull you would need, if you put docker-compose.yml and the libraries in the repo.

rsync or other sync programs also should work.