This commit is contained in:
2023-06-16 01:22:08 +08:00
parent cd156c5595
commit 6a798a7047
53 changed files with 1328 additions and 5252 deletions
+10 -25
View File
@@ -1,30 +1,15 @@
version: '3.9'
version: '3'
services:
chatgpt-next-web:
profiles: ["no-proxy"]
container_name: chatgpt-next-web
image: yidadaa/chatgpt-next-web
ports:
- 3000:3000
prod:
build:
context: .
dockerfile: Dockerfile
image: chatgpt-pro:1.0
container_name: chatgpt-pro-prod
# Set the environment variables for production
environment:
- OPENAI_API_KEY=$OPENAI_API_KEY
- CODE=$CODE
- BASE_URL=$BASE_URL
- OPENAI_ORG_ID=$OPENAI_ORG_ID
- HIDE_USER_API_KEY=$HIDE_USER_API_KEY
- DISABLE_GPT4=$DISABLE_GPT4
chatgpt-next-web-proxy:
profiles: ["proxy"]
container_name: chatgpt-next-web-proxy
image: yidadaa/chatgpt-next-web
ports:
- 3000:3000
environment:
- OPENAI_API_KEY=$OPENAI_API_KEY
- CODE=$CODE
- PROXY_URL=$PROXY_URL
- BASE_URL=$BASE_URL
- OPENAI_ORG_ID=$OPENAI_ORG_ID
- HIDE_USER_API_KEY=$HIDE_USER_API_KEY
- DISABLE_GPT4=$DISABLE_GPT4
- 8038:3000
command: /run-app.sh