mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2024-11-27 08:53:17 +08:00
30 lines
800 B
YAML
30 lines
800 B
YAML
version: '3.9'
|
|
services:
|
|
chatgpt-next-web:
|
|
profiles: ["no-proxy"]
|
|
container_name: chatgpt-next-web
|
|
image: yidadaa/chatgpt-next-web
|
|
ports:
|
|
- 3000:3000
|
|
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 |