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)

76 lines 3.75 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DockerComposeConfiguration = void 0; const tslib_1 = require("tslib"); const common_1 = require("@nestjs-mod/common"); const class_validator_1 = require("class-validator"); let DockerComposeConfiguration = class DockerComposeConfiguration { }; exports.DockerComposeConfiguration = DockerComposeConfiguration; tslib_1.__decorate([ (0, common_1.ConfigModelProperty)({ description: 'Main file for docker-compose, the Compose specification establishes a standard for the definition of multi-container platform-agnostic applications', }), (0, class_validator_1.IsNotEmpty)(), tslib_1.__metadata("design:type", String) ], DockerComposeConfiguration.prototype, "dockerComposeFile", void 0); tslib_1.__decorate([ (0, common_1.ConfigModelProperty)({ description: 'Main file for prod docker-compose, the Compose specification establishes a standard for the definition of multi-container platform-agnostic applications', }), tslib_1.__metadata("design:type", String) ], DockerComposeConfiguration.prototype, "prodDockerComposeFile", void 0); tslib_1.__decorate([ (0, common_1.ConfigModelProperty)({ description: 'Example file for docker-compose, the Compose specification establishes a standard for the definition of multi-container platform-agnostic applications', }), tslib_1.__metadata("design:type", String) ], DockerComposeConfiguration.prototype, "exampleDockerComposeFile", void 0); tslib_1.__decorate([ (0, common_1.ConfigModelProperty)({ description: 'Dotenv file for prod docker-compose file', }), tslib_1.__metadata("design:type", String) ], DockerComposeConfiguration.prototype, "prodDockerComposeEnvFile", void 0); tslib_1.__decorate([ (0, common_1.ConfigModelProperty)({ description: 'Docker-compose file version. @see https://docs.docker.com/compose/compose-file/compose-versioning', default: '3', }), (0, class_validator_1.IsNotEmpty)(), tslib_1.__metadata("design:type", String) ], DockerComposeConfiguration.prototype, "dockerComposeFileVersion", void 0); tslib_1.__decorate([ (0, common_1.ConfigModelProperty)({ description: 'Before save file for example docker-compose', }), tslib_1.__metadata("design:type", Function) ], DockerComposeConfiguration.prototype, "beforeSaveExampleDockerComposeFile", void 0); tslib_1.__decorate([ (0, common_1.ConfigModelProperty)({ description: 'Before save main file for docker-compose', }), tslib_1.__metadata("design:type", Function) ], DockerComposeConfiguration.prototype, "beforeSaveDockerComposeFile", void 0); tslib_1.__decorate([ (0, common_1.ConfigModelProperty)({ description: 'Before save main file for prod docker-compose', }), tslib_1.__metadata("design:type", Function) ], DockerComposeConfiguration.prototype, "beforeSaveProdDockerComposeFile", void 0); tslib_1.__decorate([ (0, common_1.ConfigModelProperty)({ description: 'Method before save dotenv file for docker-compose file', }), tslib_1.__metadata("design:type", Function) ], DockerComposeConfiguration.prototype, "beforeSaveDockerComposeEnvFile", void 0); tslib_1.__decorate([ (0, common_1.ConfigModelProperty)({ description: 'Method before save dotenv file for prod docker-compose file', }), tslib_1.__metadata("design:type", Function) ], DockerComposeConfiguration.prototype, "beforeSaveProdDockerComposeEnvFile", void 0); exports.DockerComposeConfiguration = DockerComposeConfiguration = tslib_1.__decorate([ (0, common_1.ConfigModel)() ], DockerComposeConfiguration); //# sourceMappingURL=docker-compose.configuration.js.map