proper-compose
Features:
- inline imports
production
service flagdisabled
service flag- inline javascript evaluation
- support for
./docker-compose/index.yml
file - auto loads
.env.dev
whenNODE_ENV === 'development'
(in addition) - auto loads
.env.prod
whenNODE_ENV === 'production'
(in addition) - auto loads
.env.test
whenNODE_ENV === 'test'
(in addition) - extra commands/functionality
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 fordocker-compose exec <service> bash
proper-compose *reup*
alias fordocker-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.
License
MIT © Daniel Kalen