UNPKG

@nestjs-mod/docker-compose

Version:

Docker Compose is a tool for defining and running multi-container applications. It is the key to unlocking a streamlined and efficient development and deployment experience. (Generator docker-compose.yml for https://docs.docker.com/compose)

48 lines 2.94 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DockerComposeFeatureConfiguration = void 0; const tslib_1 = require("tslib"); const common_1 = require("@nestjs-mod/common"); let DockerComposeFeatureConfiguration = class DockerComposeFeatureConfiguration { }; exports.DockerComposeFeatureConfiguration = DockerComposeFeatureConfiguration; tslib_1.__decorate([ (0, common_1.ConfigModelProperty)({ description: 'The top-level version property is defined by the Compose Specification for backward compatibility. It is only informative. @see https://github.com/compose-spec/compose-spec/blob/master/04-version-and-name.md', }), tslib_1.__metadata("design:type", String) ], DockerComposeFeatureConfiguration.prototype, "version", void 0); tslib_1.__decorate([ (0, common_1.ConfigModelProperty)({ description: 'A service is an abstract definition of a computing resource within an application which can be scaled or replaced independently from other components. @see https://github.com/compose-spec/compose-spec/blob/master/05-services.md', }), tslib_1.__metadata("design:type", Object) ], DockerComposeFeatureConfiguration.prototype, "services", void 0); tslib_1.__decorate([ (0, common_1.ConfigModelProperty)({ description: 'Networks are the layer that allow services to communicate with each other. @see https://github.com/compose-spec/compose-spec/blob/master/06-networks.md', }), tslib_1.__metadata("design:type", Object) ], DockerComposeFeatureConfiguration.prototype, "networks", void 0); tslib_1.__decorate([ (0, common_1.ConfigModelProperty)({ description: 'Volumes are persistent data stores implemented by the container engine. @see https://github.com/compose-spec/compose-spec/blob/master/07-volumes.md', }), tslib_1.__metadata("design:type", Object) ], DockerComposeFeatureConfiguration.prototype, "volumes", void 0); tslib_1.__decorate([ (0, common_1.ConfigModelProperty)({ description: 'Secrets are a flavor of Configs focusing on sensitive data, with specific constraint for this usage. @see https://github.com/compose-spec/compose-spec/blob/master/09-secrets.md', }), tslib_1.__metadata("design:type", Object) ], DockerComposeFeatureConfiguration.prototype, "secrets", void 0); tslib_1.__decorate([ (0, common_1.ConfigModelProperty)({ description: 'Configs allow services to adapt their behaviour without the need to rebuild a Docker image. @see https://github.com/compose-spec/compose-spec/blob/master/08-configs.md', }), tslib_1.__metadata("design:type", Object) ], DockerComposeFeatureConfiguration.prototype, "configs", void 0); exports.DockerComposeFeatureConfiguration = DockerComposeFeatureConfiguration = tslib_1.__decorate([ (0, common_1.ConfigModel)() ], DockerComposeFeatureConfiguration); //# sourceMappingURL=docker-compose.feature-configuration.js.map