This repository contains a Dockerfile which can be used to build a Docker Image for Autogen Studio using Docker Compose.
To build the docker image, run the following commands:
git clone https://github.com/mr-biz/autogenstudio-dockercompose.git
cd autogenstudio-dockercompose/
You will need your OpenAI API token (https://platform.openai.com/api-keys) and save it to ./openAi-token.
echo "Put Your OpenAi API Token Here" >> ./openAi-token
Make your token secure.
sudo chown root:root ./openAi-token
sudo chmod 400 ./openAi-token
To build the docker image, run the following command in the root of this repository:
sudo docker build -t autogenstudio-dockercompose --secret "id=openAi-token,src=./openAi-token" .
nano compose.yaml
To run the docker image, run the following command:
docker compose up -d
The Autogen Studio will be available at http://0.0.0.0:8081 or the port of your choice if you edited compose.yaml accordingly.