mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-25 12:48:49 +08:00
30 lines
862 B
YAML
30 lines
862 B
YAML
|
version: "3"
|
||
|
services:
|
||
|
chatgpt-web:
|
||
|
container_name: ${CONTAINER_NAME}
|
||
|
restart: always
|
||
|
networks:
|
||
|
- 1panel-network
|
||
|
ports:
|
||
|
- "${PANEL_APP_PORT_HTTP}:3002"
|
||
|
environment:
|
||
|
OPENAI_API_KEY: "${API_KEY}"
|
||
|
OPENAI_ACCESS_TOKEN: "${ACCESS_TOKEN}"
|
||
|
OPENAI_API_BASE_URL: "${API_BASE_URL}"
|
||
|
OPENAI_API_MODEL: "${API_MODEL}"
|
||
|
API_REVERSE_PROXY: "${REVERSE_PROXY}"
|
||
|
AUTH_SECRET_KEY: "${SECRET_KEY}"
|
||
|
MAX_REQUEST_PER_HOUR: "${REQUEST_LIMIT}"
|
||
|
TIMEOUT_MS: "${TIMEOUT}"
|
||
|
SOCKS_PROXY_HOST: "${PROXY_HOST}"
|
||
|
SOCKS_PROXY_PORT: "${PROXY_PORT}"
|
||
|
SOCKS_PROXY_USERNAME: "${PROXY_USERNAME}"
|
||
|
SOCKS_PROXY_PASSWORD: "${PROXY_PASSWORD}"
|
||
|
HTTPS_PROXY: "${HTTPS_PROXY}"
|
||
|
image: chenzhaoyu94/chatgpt-web:latest
|
||
|
labels:
|
||
|
createdBy: "Apps"
|
||
|
networks:
|
||
|
1panel-network:
|
||
|
external: true
|