npm install gulp-docker-swellrt
var dockerSwellrt = require('gulp-docker-swellrt');
var options = {
tag: '0.2.0-alpha',
name: 'myproject-swellrt'
}
gulp.task('docker:swellrt', function(done) {
dockerSwellrt(options, done);
});
image
- Docker SwellRT to run. Defaults top2pvalue/swellrt
tag
- Tag for image. Defaults tolatest
host
- Hostname for SwellRT image. Defaults toswellrt
name
- Name of the running container. Use this to run different instances. Defaults togulp-swellrt
port
- Port for the mapping of SwellRT listenig port. Default to9898
links
- Object with images that will be run and linked to swellrt container. Defaults to a mongo db instance