Skip to content

Commit

Permalink
fix chatgptnext web
Browse files Browse the repository at this point in the history
  • Loading branch information
chendelin1982 authored Dec 14, 2023
1 parent e366e8f commit a2e8a4d
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 10 deletions.
2 changes: 1 addition & 1 deletion apps/budibase/variables.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "budibase",
"trademark": "Budibase",
"release": false,
"release": true,
"fork_url": "https://github.com/Budibase/budibase/tree/develop/hosting",
"edition": [
{
Expand Down
8 changes: 1 addition & 7 deletions apps/caddy/Notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,5 @@

### Caddyfile

Caddyfile如果在docker-compose里面使用本地volumes,一定不能为空,通常需要设置下列项目:
1. 监听端口
2. 设置网站根目录
3. 启用静态文件服务器

> Caddy 的docker compose文件里面,容器内部端口不能使用变量,否则报错
映射的 Caddyfile 会**覆盖**容器中默认的 Caddyfile,即 Caddyfile 一定需要有预先配置(最少不能少于容器中的默认配置),不能为空。

2 changes: 2 additions & 0 deletions apps/chat2db/.env
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ W9_ID=chat2db
W9_HTTP_PORT=10824
W9_HTTP_PORT_SET=9001
W9_URL=appname.example.com
W9_LOGIN_USER=chat2db
W9_LOGIN_PASSWORD=chat2db
W9_NETWORK=websoft9
#### --------------------------------------------------------------------------------------- ####
9 changes: 7 additions & 2 deletions apps/chatgptnextweb/.env
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,20 @@ W9_VERSION=latest
W9_ID=chatgptnextweb
W9_HTTP_PORT=3000
W9_HTTP_PORT_SET=9001
W9_OPENAI_API_KEY_SET=""
W9_PASSWORD_SET=""
W9_URL=Internet_IP
W9_NETWORK=websoft9

W9_LOGIN_PASSWORD=$W9_PASSWORD_SET
W9_LOGIN_OPENAI_API_KEY=$W9_OPENAI_API_KEY_SET
#### --------------------------------------------------------------------------------------- ####

# Your openai api key. (required)
OPENAI_API_KEY=
OPENAI_API_KEY=$W9_OPENAI_API_KEY_SET

# Access passsword, separated by comma. (optional)
CODE=
CODE=$W9_PASSWORD_SET

# You can start service behind a proxy
PROXY_URL=
Expand Down
2 changes: 2 additions & 0 deletions apps/chatgptnextweb/Notes.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
# chatgptnextweb

安装后自行到web界面中填写秘钥或密码

0 comments on commit a2e8a4d

Please sign in to comment.