Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 798 Bytes

File metadata and controls

50 lines (34 loc) · 798 Bytes
title weight
Docker Swarm
2

Prerequisites

  • Docker with Swarm mode enabled

Clone the repository

git clone https://github.com/crestalnetwork/intentkit.git
cd intentkit

Configure environment

cp .env.example .env

Edit .env and set at least:

  • OPENAI_API_KEY

Optional overrides:

  • POSTGRES_USER, POSTGRES_PASSWORD, POSTGRES_DB
  • AWS_S3_ACCESS_KEY_ID, AWS_S3_SECRET_ACCESS_KEY, AWS_S3_BUCKET

Initialize swarm and deploy

docker swarm init
docker stack deploy -c docs/deployment/docker-compose.yml intentkit

Check services

docker service ls

Access endpoints