Skip to content

Commit

Permalink
add autogptweb
Browse files Browse the repository at this point in the history
  • Loading branch information
chendelin1982 authored Jan 13, 2024
1 parent 301fecb commit 0c9ccae
Show file tree
Hide file tree
Showing 6 changed files with 89 additions and 1 deletion.
43 changes: 43 additions & 0 deletions apps/autogptnextweb/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
W9_DIST=community
W9_REPO=dogtititi/autogpt-next-web
W9_VERSION=latest
W9_POWER_PASSWORD=1PrMxExC45LsCT

#### -- Not allowed to edit below environments when recreate app based on existing data -- ####
W9_ID=autogptnextweb
W9_HTTP_PORT=3000
W9_HTTP_PORT_SET=9001
W9_URL=Internet_IP
W9_NETWORK=websoft9

#### --------------------------------------------------------------------------------------- ####

# Deployment Environment:
NODE_ENV=development

# Next Auth config:
# Generate a secret with `openssl rand -base64 32`, or visit https://generate-secret.vercel.app/
NEXTAUTH_SECRET=***
NEXTAUTH_URL=http://localhost:3000

# Prisma
DATABASE_URL=file:./db.sqlite

# External APIs:
OPENAI_API_KEY=***

# Guest Mode:
The key NEXT_PUBLIC_GUEST_KEY should be in this format: abc,qwe,123, where each comma-separated value can be used
NEXT_PUBLIC_GUEST_KEY=***

# Websearch. Fill both of these values to enable it locally
NEXT_PUBLIC_WEB_SEARCH_ENABLED=false # Disables the ability to toggle web search
SERP_API_KEY=*** # https://serper.dev/ for an API key

# Auth providers. Required to enable sign in, in production. Development mode uses local auth.
GOOGLE_CLIENT_ID=***
GOOGLE_CLIENT_SECRET=***
GITHUB_CLIENT_ID=***
GITHUB_CLIENT_SECRET=***
DISCORD_CLIENT_SECRET=***
DISCORD_CLIENT_ID=***
5 changes: 5 additions & 0 deletions apps/autogptnextweb/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# CHANGELOG

## Release
### Fixes and Enhancements

3 changes: 3 additions & 0 deletions apps/autogptnextweb/Notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# autogptnextweb

安装后自行到web界面中填写秘钥或密码
17 changes: 17 additions & 0 deletions apps/autogptnextweb/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# compose: https://github.com/ConnectAI-E/AutoGPT-Next-Web/blob/main/docker-compose.prod.yml

version: '3.8'

services:
autogpt-next-web:
image: $W9_REPO:${W9_VERSION}
container_name: ${W9_ID}
restart: unless-stopped
env_file: .env
ports:
- $W9_HTTP_PORT_SET:3000

networks:
default:
name: ${W9_NETWORK}
external: true
20 changes: 20 additions & 0 deletions apps/autogptnextweb/variables.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"name": "autogptnextweb",
"trademark": "AutoGPT-Next-Web",
"release": true,
"fork_url": "https://github.com/ConnectAI-E/AutoGPT-Next-Web",
"edition": [
{
"dist": "community",
"version": [
"latest"
]
}
],
"requirements": {
"cpu": "1",
"memory": "1",
"disk": "1",
"url": "https://github.com/ConnectAI-E/AutoGPT-Next-Web"
}
}
2 changes: 1 addition & 1 deletion apps/chatgptnextweb/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ services:
restart: unless-stopped
env_file: .env
ports:
- $W9_HTTP_PORT_SET:$W9_HTTP_PORT
- $W9_HTTP_PORT_SET:3000

networks:
default:
Expand Down

0 comments on commit 0c9ccae

Please sign in to comment.