Skip to main content

format docker compose files

Project description

Format docker compose files.

Note that this small utility is just valid until docker-compose has itself a format functionality. Currently docker-compose just support the “config” switch. Which joins multiple compose files and print them in a machine readable form.

Usage

Via Python

Install it via: pip3 install compose_format

After that use it like: echo "docker-compose.yml" > docker run -t compose_format

Features

  • Support for Version 2 and Version 1.

  • Orders Services, Volumes, Networks

  • Orders Definitions

  • Orders Port and Volume Lists

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

compose_format-0.1.1.tar.gz (3.4 kB view details)

Uploaded Source

File details

Details for the file compose_format-0.1.1.tar.gz.

File metadata

File hashes

Hashes for compose_format-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8d83c3d89b8f6da670d0b75c30ac7d36819cec2ea41cc78b217713942773e5d5
MD5 76bd188d0bbd9c3a5e13ca3b98c68c93
BLAKE2b-256 1f4675ea25b5c1cecb0d1b7a6f4d18cfd47170967218fbf8fae59e9adaa23285

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page