appstore-1panel/apps/chatgpt-web/latest/docker-compose.yml

30 lines
862 B
YAML
Raw Normal View History

2023-08-03 11:03:14 +08:00
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