localagi / gpt-code-ui-docker

Docker builds for https://github.com/ricklamers/gpt-code-ui
MIT License
107 stars 25 forks source link

Address already in use, Connection refused #1

Open aaronpeng2020 opened 1 year ago

aaronpeng2020 commented 1 year ago

D:\dev2023\gpt-code-ui-docker>docker compose up [+] Running 1/1

chiicy commented 1 year ago

add the WEB_PORT field to your docker.compose.yaml file like this:

version: "3.8"
services:

  gpt-code-ui:
    image: localagi/gpt-code-ui:${GPTCODEUI_VERSION:-main}
    environment:
      OPENAI_API_KEY: "your key"
      APP_HOST: gpt-code-ui
      WEB_PORT: 23754
    ports:
      - "23754:23754"
rossman22590 commented 1 year ago

your the best