forked from acheong08/ChatGPT-to-API
-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
32 lines (31 loc) · 1.18 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
version: '3'
services:
app:
#image: acheong08/chatgpt-to-api # 总是使用latest,æ›´æ–°æ—¶é‡æ–°pull该tagé•œåƒå³å¯
build:
context: .
dockerfile: Dockerfile
container_name: chatgpttoapi
restart: unless-stopped
ports:
- '443:443'
environment:
SERVER_HOST: 0.0.0.0
SERVER_PORT: 443
ADMIN_PASSWORD: TotallySecurePassword
# If the parameter API_REVERSE_PROXY is empty, the default request URL is https://chat.openai.com/backend-api/conversation, and the PUID is <NOT> equired.
#PUID: xxx
#API_REVERSE_PROXY: https://bypass.churchless.tech/conversation
ENABLE_HISTORY: "false"
TLS_CERT: /tls/fullchain.pem
TLS_KEY: /tls/privkey.pem
volumes:
- /path/to/fullchain.pem:/tls/fullchain.pem
- /path/to/privkey.pem:/tls/privkey.pem
- ./access_tokens.json:/app/access_tokens.json
- ./cookies.json:/app/cookies.json
- ./accounts.txt:/app/accounts.txt
- ./chat.openai.com.har:/app/chat.openai.com.har
- ./proxies.txt:/app/proxies.txt
- ./harPool:/app/harPool
- ./gemini-api-key.json:/app/gemini-api-key.json