Sign inSign up

unknownsh/chatbot-ui

By unknownsh

Updated over 2 years ago

Run Chatbot UI with Docker: a simple, scalable solution for deploying AI chats. Auto-updating fork.

Image
Machine learning & AI
0

1.5K

unknownsh/chatbot-ui repository overview

Chatbot UI Docker Container

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.

Getting Started

This container is designed to be run with minimal setup. The primary dependencies include Node.js and Supabase for backend services.

Prerequisites
  • Docker
  • Docker Compose (for running with Supabase locally)
Configuration

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.

Required Environment Variables
  • 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.
Docker Compose Setup

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:
Running the Container

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.

Contributing

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.

License

This project is licensed under the MIT License - see the LICENSE.md file for details.

Acknowledgments

  • Thanks to Mckay Wrigley for creating the Chatbot UI, which this Docker container is based on.

Tag summary

Content type

Image

Digest

sha256:a98e70fb9

Size

1.1 GB

Last updated

over 2 years ago

docker pull unknownsh/chatbot-ui