organic-angel scripts for generating docker-compose compatible configuration and commands aiding docker-compose usage in development.
Generates docker compose version 3.4 configuration for all cells found within the current working repository folder. The structure and organization are expected to follow organic-stem-skeleton v2.1
The input (.*)
is used as docker command. The generated yaml uses as source the following data points:
-
current working directory with package.json
- packagejson.name
- packagejson.engines.node
-
cell's dna
- cellCompose.ports
- cellCompose.volumes
- cellCompose.labels
-
repo's DNA
- cell-ports[cell.name]
- cell-mountpoints[cell.name]
Executes docker-compose up
with the input (.*)
as docker command. It passes angel compose.yaml
to docker compose.
Executes docker-compose down
with the input (.*)
as docker command. It passes angel compose.yaml
to docker compose.
Executes docker-compose build
with the input (.*)
as docker command. It passes angel compose.yaml
to docker compose.
Executes docker exec -it
with the input (.*)
as command. It automatically finds the respective to the service docker container.