

But the actual definition involves distinct platform resources and services, which are abstracted by this type.Ī Secret is a specific flavor of configuration data for sensitive data that SHOULD NOT be exposed without security considerations. From a Service container point of view, Configs are comparable to Volumes, in that they are files mounted into the container. For this, the specification defines a dedicated concept: Configs. Some services require configuration data that is dependent on the runtime or platform. Actual platform-specific implementation details are grouped into the Volumes definition and MAY be partially implemented on some platforms. The specification describes such a persistent data as a high-level filesystem mount with global options. Services store and share persistent data into Volumes. Low-level, platform-specific networking options are grouped into the Network definition and MAY be partially implemented on some platforms. In this specification, a Network is a platform capability abstraction to establish an IP route between containers within services connected together. Services communicate with each other through Networks. A Service is an abstract concept implemented on platforms by running the same container image (and configuration) one or more times. Such an application is designed as a set of containers which have to both run together with adequate shared resources and communication channels.Ĭomputing components of an application are defined as Services. The Compose specification allows one to define a platform-agnostic container based application.
#Yaml formatter windows#
The Compose specification includes properties designed to target a local OCI container runtime,Įxposing Linux kernel specific configuration options, but also some Windows container specific properties, as well as cloud platform features related to resource placement on a cluster, replicated application distribution and scalability. The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in RFC 2119. Distribution of this document is unlimited. This document specifies the Compose file format used to define multi-containers applications. The Compose spec merges the legacyĢ.x and 3.x versions, aggregating properties across these formats and is implemented by Compose 1.27.0+. Version of the Compose file format is defined by the Compose Networks, and volumes for a Docker application. ).The Compose file is a YAML file defining services,


The following table show availlable styles (e.g. replacer - callback function (key, value) called recursively on each key/value in source object (see replacer docs for JSON.stringify).forceQuotes (default: false) - if true, all non-key strings will be quoted even if they normally don't need to.

If you specify single quotes, double quotes will still be used for non-printable characters.
