JSPM

  • Created
  • Published
  • Downloads 254
  • Score
    100M100P100Q83830F
  • License MIT

[dspp](https://github.com/131/dspp) is a **d**ocker **s**tack **p**re**p**rocessor

Package Exports

  • dspp
  • dspp/stack.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (dspp) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

dspp is a docker stack preprocessor

Build Status Coverage Status Version License

Docker usage example

cd /your/stack/path
docker run -it --rm  -v .:/app 131hub/dspp production.yml

Usage sample

dspp production.yml --ir://run=compile
dspp production.yml --ir://run=deploy

Change a global macro

=> verify all update
dspp production.yml --ir://run=compile
=> deploy full stack
dspp production.yml --ir://run=deploy

Reconfigure a service

=> verify local update
dspp production.yml service_name --ir://run=compile
=> deploy service only
dspp production.yml service_name  --ir://run=deploy

Installation instruction


# Install using npm
sudo npm -g dspp


# requires most colordiff

apt-get install most colordiff


# Install npm using 

# default is 2.15.5
# export npm_install=7.11.2

curl -L https://131.github.io/docker-dspp/install-npm.sh |  sh

Credits