addConfig
Method
interface ComposeFile { // ... omitted for brevity addConfig( name: string, file?: string, content?: string, external?: boolean, configure?: callback): ComposeFile;}Signature
method
addConfig Adds a top-level config definition to the Docker Compose file.
addConfig(name: string, file?: string, content?: string, external?: boolean, configure?: (obj: Config) => Promise<void>): ComposeFileParameters
name string file string optional content string optional external boolean optional configure (obj: Config) => Promise<void> optional Returns
ComposeFile Applies to
This method applies to the following types: