aurora-develop / free-gpt3.5-2api

移步主仓库
https://github.com/aurorax-neo/free-gpt3.5-2api
60 stars 8 forks source link

写了个 docker-compose.yml ,但是代理环境变量不生效 #11

Closed WangShuXian6 closed 4 months ago

WangShuXian6 commented 4 months ago

每次请求都返回

please restart the program、change the IP address、use a proxy to try again

docker-compose.yml

version: '3.8'
services:
  free-gpt3.5-2api:
    image: ghcr.io/aurorax-neo/free-gpt3.5-2api
    container_name: free-gpt3.5-2api
    ports:
      - "9846:3040"
    environment:
      LOG_LEVEL: "info"
      LOG_PATH: ""
      BIND: "0.0.0.0"
      PORT: "3040"
      PROXY: "http://127.0.0.1:10809,http://127.0.0.1:10809"
      AUTHORIZATIONS: "123456"
      POOL_MAX_COUNT: "64"
      AUTH_ED: "600"
    restart: unless-stopped

image