Getting Started with Composable
Composable is a collection of Docker Compose fragments and a CLI tool to manage them.
Installation
Install the CLI from npm:
You can also run without global install:
For local development, clone the repository and build from source:
git clone https://github.com/voidrot/composable.git
cd composable
npm install
npm run build
npm link
Adding your first fragment
To add a PostgreSQL fragment to your project:
This will:
- Fetch the
postgresql.ymlfragment. - Store it in
./.compose/postgresql.yml. - Update your local
.envfile with default environment variables.