Simpler docker-compose with inline config files

So you have some config that you want to provide to a service started from docker compose . Did you know you can keep things simple by inlining that config in the compose file, rather than messing with mounts? Inline content in docker-compose.yaml In our case we want a json file with 👇 mounted at /etc/consul/client.json { 'node_name' : 'consul-client' , 'data_dir' : '/consul/data' , 'log_level' :…