Chat2DB Docker & Self-Hosted Deployment

GitHub

AI-driven database tool and SQL client, The hottest GUI client, supporting MySQL, Oracle, PostgreSQL, DB2, SQL Server, DB2, SQLite, H2, ClickHouse, and more.

27,948 stars Java Java 1 file ยท ~13,013 tokens #ai#bi#chatgpt#clickhouse#clickhouse-client#database#datagrip#db2
RAW Compose
1. Pull Image (DOCKERHUB) docker pull chat2db/chat2db
2. Docker Run (1-Click Launch) docker run -d --name chat2db -p 10825:10825 --restart always chat2db/chat2db:${CHAT2DB_IMAGE_TAG:-latest}
3. Podman Run podman run -d --name chat2db -p 10825:10825 --restart always chat2db/chat2db:${CHAT2DB_IMAGE_TAG:-latest}
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/chat2db/chat2db:${CHAT2DB_IMAGE_TAG
5. ORAS Pull (OCI Artifact) oras pull chat2db/chat2db:${CHAT2DB_IMAGE_TAG:-latest}
6. Compose Deployment docker compose up -d
docker/docker-compose.yml
Download .yml
services:
  chat2db:
    image: chat2db/chat2db:${CHAT2DB_IMAGE_TAG:-latest}
    container_name: chat2db-community
    restart: unless-stopped
    ports:
      - "${CHAT2DB_BIND_ADDRESS:-127.0.0.1}:${CHAT2DB_PORT:-10825}:10825"
    environment:
      CHAT2DB_COMMUNITY_ENCRYPTION_KEY_FILE: /run/secrets/chat2db-community-encryption.key
    volumes:
      - chat2db-community-data:/root/.chat2db-community
      - "${HOME}/.config/chat2db-community/encryption.key:/run/secrets/chat2db-community-encryption.key:ro"

volumes:
  chat2db-community-data: