$ cnpm install proper-compose
Features:
production
service flagdisabled
service flag./docker-compose/index.yml
file.env.dev
when NODE_ENV === 'development'
(in addition).env.prod
when NODE_ENV === 'production'
(in addition).env.test
when NODE_ENV === 'test'
(in addition)proper-compose *services*
for a summary of all matching servicesproper-compose *stats*
for real-time service statsproper-compose *status*
for online/offline status for given servicesproper-compose *online*
for boolean indicating if a service is onlineproper-compose *enter*
alias for docker-compose exec <service> bash
proper-compose *reup*
alias for docker-compose stop && docker-compose up
proper-compose *logs*
will load last 10 lines by default (vs all)Note: this library is still under development stage and is being processed through heavy real-world battle testing. Full documentation will be released once this module is ready for alpha release.
MIT © Daniel Kalen
Copyright 2014 - 2017 © taobao.org |