forked from KenyonY/openai-forward
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
35 lines (34 loc) · 950 Bytes
/
docker-compose.yaml
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
33
34
35
services:
openai_forward:
image: beidongjiedeguang/openai-forward:latest
container_name: openai-forward-container
env_file:
.env.chatgpt
ports:
- "8000:8000"
volumes:
- ./CACHE_LMDB:/home/openai-forward/CACHE_LMDB
- ./CACHE_LEVELDB:/home/openai-forward/CACHE_LEVELDB
- ./Log:/home/openai-forward/Log
# - ./openai_forward:/home/openai-forward/openai_forward
command:
- --port=8000
- --workers=1
restart: unless-stopped
depends_on:
- chatgpt
chatgpt:
# use project: https://github.com/gngpp/ninja
image: ghcr.io/gngpp/ninja:latest
container_name: chatgpt
restart: unless-stopped
environment:
- TZ=Asia/Shanghai
command:
- run
- --arkose-gpt4-har-dir=/root/.gpt4
# - --level=debug
volumes:
- ./har:/root/.gpt4
# ports:
# - "7999:7999"