Skip to main content

docker-compose

Docker Compose

This script is designed to set up and manage a multi-container application environment using Docker Compose. It provides the following functionality:

  1. Environment Setup: Ensure Docker and Docker Compose are installed on your machine.
  2. Service Configuration: Define the required services in a docker-compose.yml file.
  3. Start Services: Use the docker compose up -d command to initialize and run the services in detached mode.
  4. Service Verification: Check the status of running services using docker compose ps.

Follow these steps to deploy and manage your application efficiently.

  1. Install Docker and Docker Compose on your machine.
  2. Create a docker-compose.yml file with the required services.
  3. Run the following command to start the services:
COMPOSE_PROFILES=all-agents docker compose up

Or start with specific profiles:

# Start with GitHub agent and SLIM dataplane
COMPOSE_PROFILES="slim,github" docker compose up

# Start with multiple agents
COMPOSE_PROFILES="github,aws,rag" docker compose up
  1. Verify the services are running:
docker compose ps