LOG_LEVEL=info # debug, info, warn, error
BIND=0.0.0.0 # 127.0.0.1
PORT=3040
PROXY= # http://127.0.0.1:7890
AUTHORIZATIONS= # abc,bac (英文 , 分隔)
POOL_MAX_COUNT=5 # max number of connections to keep in the pool
AUTH_ED=180 # expiration time for the authorization in seconds
AUTH_USE_COUNT=5 # number of times an authorization can be used
也可使用与程序同目录下 .env 文件配置上述字段
docker部署
1 .创建文件夹
mkdir -p $PWD/free-gpt3.5-2api
2.拉取镜像启动
docker run -itd --name=free-gpt3.5-2api -p 9846:3040 -v $PWD/free-gpt3.5-2api/logs:/app/logs ghcr.io/aurorax-neo/free-gpt3.5-2api