Skip to main content

Deployment

Torii deployment is straightforward since all services can be deployed at once using Docker Compose. While each service can be deployed individually, this is the easiest way to get everything running. The next section covers individual deployments and API usage.

Clone the Repository

Start by cloning the Torii repository:

git clone https://github.com/KiraCore/torii.git
cd torii

Deploy

note

Ensure Docker and Docker Compose are installed before proceeding.

Torii’s docker-compose.yml defines all services and their dependencies. From the root folder, run:

docker-compose up -d

This builds and starts all containers in detached mode.

Configuration

Each service has a default config.yml, which works out of the box. However, these files can be modified if needed (e.g., adjusting keys, TSS settings, or endpoints). More details, as well as service API, are covered in the next section.

Verify Deployment

To check logs and ensure services are running:

docker-compose logs -f

Useful Commands

  • Stop all services:

    docker-compose down
  • Restart all services:

    docker-compose restart
  • View running containers:

    docker ps

Interaction

Once deployed, Torii can be used via its API endpoints. Refer to the Torii Services section for details on interacting with individual services.