compose_yml
compose_yml copied to clipboard
WIP: Read and write docker-compose.yml files using Rust
Fixes #22
Docker for Windows allows to specify special paths in volumes sub-section of service section. These paths must NOT be converted to Windows equivalent. Examples: ```yaml services: test: volumes: - /dev/shm:/dev/shm...
Add healthcheck and depends_on options for service
Note: this is only compatible with docker-compose v2.1+ And that brings up an interesting question: do we want to start being smarter about how compose_yml handles docker-compose.yml versions? That is,...
In `environment` sections you can specify valueless keys like ```yaml environment: - FOO - BAR ``` And docker-compose will pick up the relevant values on the machine compose runs on....
The `validate_file` function in `compose_yml` is supposed to make sure that all the files we read and write correspond to an appropriate JSON schema. Unfortunately, this relies on `valico`, which...