https://github.com/funkwerk/compose_diff
Diff Docker Compose Files
https://github.com/funkwerk/compose_diff
compare compose devops diff docker
Last synced: about 1 year ago
JSON representation
Diff Docker Compose Files
- Host: GitHub
- URL: https://github.com/funkwerk/compose_diff
- Owner: funkwerk
- License: mit
- Created: 2016-11-18T12:39:57.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-03T21:03:19.000Z (about 9 years ago)
- Last Synced: 2025-02-17T20:48:30.157Z (about 1 year ago)
- Topics: compare, compose, devops, diff, docker
- Language: Python
- Size: 9.77 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://travis-ci.org/funkwerk/compose_diff)
[](https://hub.docker.com/r/funkwerk/compose_diff/)
[](https://pypi.python.org/pypi/compose_diff/)
[](https://pypi.python.org/pypi/compose_diff/)
[](https://hub.docker.com/r/funkwerk/compose_diff/)
# compose_diff
Diff docker-compose files.
When deploying using docker-compose, these files could be used to generate Release Notes.
Especially interesting is to diff two docker-compose Releases by each other, then customers know the changed components and testers know which part to especially test.
## Usage
### Via Python
Install it via:
`pip3 install compose_diff`
After that use it like
`compose_diff --versions old.yml new.yml`
this will print the differences in the used versions/tags between the two compose files.
`compose_diff --instances old.yml new.yml`
this will print the amount of instances of this image between the two compose files.
## Features
- Support for Version 2 and Version 1.
- Diffs Image Versions
- Diffs Image Instances
- Output in Markdown and CSV format