Dev environment made easy, a standarized way for running applications no matter the stack on your local machine and deploying it to a development environment.
Run any stack / tool with any version, powered by Docker and Docker Compose in a simple way avoiding you to install lots of stuff on your machine.
Have the same feeling working on multiple projects with different stacks.
Full documentation at https://kool.dev/docs

Kool is powered by Docker and Docker Compose, you need to have it installed on your machine.
The run the follow script to install kool
bin in your machine.
curl -fsSL https://raw.githubusercontent.com/kool-dev/kool/master/install.sh | bash
In case you need sudo:
curl -fsSL https://raw.githubusercontent.com/kool-dev/kool/master/install.sh | sudo bash
To help learning how to use kool we've built presets with good starting point for some popular stacks, feel free to open a PR in case you miss one.
You can see projects using it here: https://github.com/kool-dev/examples
$ kool start [flags]
Start services (containers) defined on docker-compose.yml
Name | Type | Description |
---|---|---|
--services= |
string |
Specific services to be started |
$ kool status
Shows the status for containers
$ kool info
Prints out information about kool setup (like environment variables)
$ kool init [preset] [flags]
Enable Kool preset configuration in the current working directory
Name | Type | Description |
---|---|---|
preset |
string |
The preset (Presets) |
--override |
none |
Force replace local existing files with the default preset files |
$ kool exec [service] [command]
Execute command in running container.
Name | Type | Description |
---|---|---|
service |
string |
The service from docker-compose.yml , i.e: app ,database ,adonis |
command |
string |
The command to run, i.e: php artisan migrate , adonis run:migration , npm build |
$ kool run [script] [command]
Execute script or a docker image.
Name | Type | Description |
---|---|---|
script |
string |
Script to run within your kool.yaml file. |
command |
string |
The command to run, i.e: composer install , yarn install |
$ kool docker [image] [command]
Execute script or a docker image.
Name | Type | Description |
---|---|---|
image |
string |
Docker image to run, i.e: kooldev/node:14 |
command |
string |
The command to run, i.e: composer install , yarn install |
--disable-tty / -T |
none |
Force disable tty, good for CI/CI/Automation |
$ kool stop [flags]
Stop containers.
Name | Type | Description |
---|---|---|
--purge |
none |
If enabled, docker volume will be deleted. |
This is where most of the magic happens, a way to make your life easy, orchestrating scripts for you to use on your local environment or CI/CDs. Look at presets to see examples.
This is where you control your local environment.
This file gives you a way for building Docker images for production. More docs to come.
The MIT License (MIT). Please see License File for more information.