@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)
81 lines • 3.43 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.DockerComposeNatsEnvironments = exports.DockerComposeNatsConfiguration = void 0;
const tslib_1 = require("tslib");
const common_1 = require("@nestjs-mod/common");
let DockerComposeNatsConfiguration = class DockerComposeNatsConfiguration {
};
exports.DockerComposeNatsConfiguration = DockerComposeNatsConfiguration;
tslib_1.__decorate([
(0, common_1.ConfigModelProperty)({
description: 'Docker image name.',
default: 'bitnami/nats:2.10.5',
}),
tslib_1.__metadata("design:type", String)
], DockerComposeNatsConfiguration.prototype, "image", void 0);
tslib_1.__decorate([
(0, common_1.ConfigModelProperty)({
description: 'Feature name for generate prefix to environments keys',
}),
tslib_1.__metadata("design:type", String)
], DockerComposeNatsConfiguration.prototype, "featureName", void 0);
tslib_1.__decorate([
(0, common_1.ConfigModelProperty)({
description: 'Network, if not set networkNames have project name and driver=bridge.',
}),
tslib_1.__metadata("design:type", Array)
], DockerComposeNatsConfiguration.prototype, "networks", void 0);
tslib_1.__decorate([
(0, common_1.ConfigModelProperty)({
description: 'External client port for sharing container.',
default: 4222,
transform: new common_1.NumberTransformer()
}),
tslib_1.__metadata("design:type", Number)
], DockerComposeNatsConfiguration.prototype, "externalClientPort", void 0);
tslib_1.__decorate([
(0, common_1.ConfigModelProperty)({
description: 'External http port for sharing container.',
default: 8222,
transform: new common_1.NumberTransformer()
}),
tslib_1.__metadata("design:type", Number)
], DockerComposeNatsConfiguration.prototype, "externalHttpPort", void 0);
tslib_1.__decorate([
(0, common_1.ConfigModelProperty)({
description: 'Extra arguments.',
default: '-js',
}),
tslib_1.__metadata("design:type", String)
], DockerComposeNatsConfiguration.prototype, "extraArgs", void 0);
exports.DockerComposeNatsConfiguration = DockerComposeNatsConfiguration = tslib_1.__decorate([
(0, common_1.ConfigModel)()
], DockerComposeNatsConfiguration);
let DockerComposeNatsEnvironments = class DockerComposeNatsEnvironments {
};
exports.DockerComposeNatsEnvironments = DockerComposeNatsEnvironments;
tslib_1.__decorate([
(0, common_1.EnvModelProperty)({
description: 'Enable Authentication.',
hidden: true,
}),
tslib_1.__metadata("design:type", String)
], DockerComposeNatsEnvironments.prototype, "natsEnableAuth", void 0);
tslib_1.__decorate([
(0, common_1.EnvModelProperty)({
description: 'Username credential for client connections.',
hidden: true,
}),
tslib_1.__metadata("design:type", String)
], DockerComposeNatsEnvironments.prototype, "natsUsername", void 0);
tslib_1.__decorate([
(0, common_1.EnvModelProperty)({
description: 'Password credential for client connections.',
hidden: true,
}),
tslib_1.__metadata("design:type", String)
], DockerComposeNatsEnvironments.prototype, "natsPassword", void 0);
exports.DockerComposeNatsEnvironments = DockerComposeNatsEnvironments = tslib_1.__decorate([
(0, common_1.EnvModel)()
], DockerComposeNatsEnvironments);
//# sourceMappingURL=docker-compose-nats.settings.js.map
;