una-auxme / paf

MIT License
6 stars 0 forks source link

Instead of using four distinct docker-compose files, use `extends` #267

Closed ll7 closed 1 month ago

ll7 commented 3 months ago
          https://docs.docker.com/compose/multiple-compose-files/extends/

Originally posted by @ll7 in https://github.com/una-auxme/paf23/issues/260#issuecomment-2196838965

ll7 commented 3 months ago

There will be four distinct files, but Dont Repeat Yourself.

Only add changes in the compose setups.

One central file and several extensions for specific use cases (dev, distributed...)

ll7 commented 3 months ago

https://docs.docker.com/compose/compose-file/05-services/#extends https://docs.docker.com/compose/multiple-compose-files/extends/ https://docs.docker.com/compose/multiple-compose-files/include/