-
Notifications
You must be signed in to change notification settings - Fork 741
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
huangyanming
committed
Mar 8, 2023
1 parent
001c024
commit f102fe5
Showing
3 changed files
with
35 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# docker-compose.yml | ||
version: '3.3' | ||
|
||
services: | ||
chatgpt-web: | ||
build: ./ # dockerfile所在目录 | ||
environment: | ||
TZ: Asia/Shanghai | ||
APIKEY: "your api key" #APIKEY | ||
MODEL: "gpt-3.5-turbo-0301" #模型 | ||
BOT_DESC: "你是一个AI助手,我需要你模拟一名温柔贴心的女朋友来回答我的问题." #ai设定 | ||
MAX_TOKENS: 512 | ||
TEMPREATURE: 0.9 | ||
TOP_P: 1 | ||
FREQ: 0.0 | ||
PROXY: "http://host.docker.internal:10809" #代理地址 | ||
AUTH_USER: "" #认证用户 | ||
AUTH_PASSWORD: "" #认证密码 | ||
restart: always | ||
ports: | ||
- 8080:8080 | ||
extra_hosts: | ||
- host.docker.internal:host-gateway |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters