Run Chatbot UI with Docker: a simple, scalable solution for deploying AI chats. Auto-updating fork.
1.5K
This Docker container provides an easy setup for running the Chatbot UI, an open-source AI chat interface developed by Mckay Wrigley. For more details on the application itself, please visit the official repository.
This container is designed to be run with minimal setup. The primary dependencies include Node.js and Supabase for backend services.
To run the Chatbot UI successfully, you will need to configure several environment variables. These variables can be set directly in the Docker Compose file or passed to Docker when starting the container manually.
NEXT_PUBLIC_SUPABASE_URL: The URL to your Supabase instance. This should match the configuration of the Supabase service defined in your docker-compose.yml.SUPABASE_SERVICE_ROLE_KEY: Your Supabase service role key, which is used for authenticated requests to your Supabase instance.Here is a basic docker-compose.yml example that sets up both the Chatbot UI and a Supabase service:
version: '3.8'
services:
chatbot-ui:
image: unknownsh/chatbot-ui:latest
container_name: chatbot-ui
ports:
- "3000:3000"
environment:
- NEXT_PUBLIC_SUPABASE_URL=http://supabase:8000
- SUPABASE_SERVICE_ROLE_KEY=your_supabase_service_role_key
depends_on:
- supabase
supabase:
image: supabase/postgres:latest
container_name: supabase
ports:
- "5432:5432"
environment:
- POSTGRES_DB=supabase
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=your_postgres_password
volumes:
- supabase-data:/var/lib/postgresql/data
volumes:
supabase-data:
To run the container with Docker Compose, navigate to the directory containing your docker-compose.yml file and run:
docker-compose up
This command will start both the Chatbot UI and the required Supabase backend.
Contributions to the Docker setup for Chatbot UI are welcome! If you have suggestions or improvements, please fork the repository and submit a pull request.
This project is licensed under the MIT License - see the LICENSE.md file for details.
Content type
Image
Digest
sha256:a98e70fb9…
Size
1.1 GB
Last updated
over 2 years ago
docker pull unknownsh/chatbot-ui