Skip to content

P2Pvalue/gulp-docker-swellrt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gulp-docker-swellrt

Run Docker SwellRT instance from Gulp

Installation

npm install gulp-docker-swellrt

Gulpfile

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);
});

Options

  • image - Docker SwellRT to run. Defaults to p2pvalue/swellrt
  • tag - Tag for image. Defaults to latest
  • host - Hostname for SwellRT image. Defaults to swellrt
  • name - Name of the running container. Use this to run different instances. Defaults to gulp-swellrt
  • port - Port for the mapping of SwellRT listenig port. Default to 9898
  • links - Object with images that will be run and linked to swellrt container. Defaults to a mongo db instance