Running with Make

Steps to Run a Workflow

  1. Run the workflow run command in the root of the app directory

make -f .stoobly/docker/Makefile <WORKFLOW-NAME> options="<OPTIONS>"

For example:

make -f .stoobly/docker/Makefile record options="--detached"
  1. Assuming we have created a service called sampleapis, then after running the command, the following containers will be running:

    1. <WORKFLOW-NAME>-<SERVICE-NAME>.proxy-1

    2. <WORKFLOW-NAME>-gateway.service-1

    3. <WORKFLOW-NAME>-stoobly_ui.service-1

The following shows which containers are expected to be running using docker ps

$ docker ps
CONTAINER ID   IMAGE                        COMMAND                  CREATED          STATUS          PORTS                                                 NAMES
4eb6965fbfa6   record-sampleapis.proxy      "docker-entrypoint.s…"   6 seconds ago    Up 3 seconds    4200/tcp, 8080/tcp                                    record-sampleapis.proxy-1
5c02c177a3bd   nginxproxy/nginx-proxy:1.5   "/app/docker-entrypo…"   6 seconds ago    Up 3 seconds    80/tcp, 0.0.0.0:443->443/tcp, :::443->443/tcp         record-gateway.service-1
01193cb75e03   record-stoobly_ui.service    "docker-entrypoint.s…"   6 seconds ago    Up 3 seconds    0.0.0.0:4200->4200/tcp, :::4200->4200/tcp, 8080/tcp   record-stoobly_ui.service-1
  1. To learn more about workflows, see:

Workflow

Options

To see what options are available:

make -f .stoobly/docker/Makefile <WORKFLOW-NAME> options="-h"

Last updated

Was this helpful?