by toastercat · 3y ago · 0 comments
I've taken to replacing docker compose files with bash scripts for my personal projects. So far, it's been OK.
This site might help: https://www.composerize.com/
Also you can also run that site in docker.
I'm sorry but this is just incredibly messy for anything that's not trivial. We have tons of docker-compose services, all instantiated N times and each having their own network, secret, volume, env var, target etc configuration. In my mind it doesn't make sense to replace a 100 line YAML with a gargantuan messy shell script only old graybeards understand.
That's why I said "personal projects".
If anyone has good ideas, please share!
Setting up an N-node Cassandra cluster: https://docs.kurtosis.com/how-to-parameterize-cassandra#inst...
Idempotent runs documentation: https://docs.kurtosis.com/concepts-reference/idempotent-runs
If your job is to write config all day, and nothing else (which is the only reason I think you'd care that much to dislike docker compose JUST because of yml), maybe the thing you actually dislike is the nature of the job?