NextChat Docker & Self-Hosted Deployment

GitHub

Zero-config AI chat assistant. No API key needed โ€” sign up and instantly chat with GPT-5, Claude 4, Gemini 2.5, DeepSeek & 100+ top models.

88,848 stars TypeScript TypeScript 1 file ยท ~20,804 tokens #calclaude#claude#cross-platform#desktop#fe#gemini#gemini-pro#gemini-server
RAW Compose
1. Pull Image (DOCKERHUB) docker pull yidadaa/chatgpt-next-web
2. Docker Run (1-Click Launch) docker run -d --name nextchat -p 3000:3000 --restart always yidadaa/chatgpt-next-web
3. Podman Run podman run -d --name nextchat -p 3000:3000 --restart always yidadaa/chatgpt-next-web
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/yidadaa/chatgpt-next-web:latest
5. ORAS Pull (OCI Artifact) oras pull yidadaa/chatgpt-next-web
6. Compose Deployment docker compose up -d
docker-compose.yml
Download .yml
version: "3.9"
services:
  chatgpt-next-web:
    profiles: [ "no-proxy" ]
    container_name: chatgpt-next-web
    image: yidadaa/chatgpt-next-web
    ports:
      - 3000:3000
    environment:
      - OPENAI_API_KEY=$OPENAI_API_KEY
      - GOOGLE_API_KEY=$GOOGLE_API_KEY
      - CODE=$CODE
      - BASE_URL=$BASE_URL
      - OPENAI_ORG_ID=$OPENAI_ORG_ID
      - HIDE_USER_API_KEY=$HIDE_USER_API_KEY
      - DISABLE_GPT4=$DISABLE_GPT4
      - ENABLE_BALANCE_QUERY=$ENABLE_BALANCE_QUERY
      - DISABLE_FAST_LINK=$DISABLE_FAST_LINK
      - OPENAI_SB=$OPENAI_SB

  chatgpt-next-web-proxy:
    profiles: [ "proxy" ]
    container_name: chatgpt-next-web-proxy
    image: yidadaa/chatgpt-next-web
    ports:
      - 3000:3000
    environment:
      - OPENAI_API_KEY=$OPENAI_API_KEY
      - GOOGLE_API_KEY=$GOOGLE_API_KEY
      - CODE=$CODE
      - PROXY_URL=$PROXY_URL
      - BASE_URL=$BASE_URL
      - OPENAI_ORG_ID=$OPENAI_ORG_ID
      - HIDE_USER_API_KEY=$HIDE_USER_API_KEY
      - DISABLE_GPT4=$DISABLE_GPT4
      - ENABLE_BALANCE_QUERY=$ENABLE_BALANCE_QUERY
      - DISABLE_FAST_LINK=$DISABLE_FAST_LINK
      - OPENAI_SB=$OPENAI_SB