forked from xiangsx/gpt4free-ts-deploy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
90 lines (83 loc) · 2.02 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
version: "3.9"
services:
monitor:
image: louislam/uptime-kuma:latest
restart: always
volumes:
- ./monitor/uptime-kuma:/app/data
- /var/run/docker.sock:/var/run/docker.sock
ports:
- "29004:3001"
env_file:
- './env/.env'
clash:
image: dreamacro/clash
volumes:
- ./clash/config.yaml:/root/.config/clash/config.yaml
- ./clash/profiles:/root/.config/clash/profiles
# - ./clash/ui:/ui # dashboard volume
ports:
- "29005:7890"
# - "29006:7891"
- "29003:9090" # external controller (Restful API)
restart: always
env_file:
- './env/.env'
yacd:
image: ghcr.io/haishanh/yacd:master
ports:
- "29002:80"
restart: always
env_file:
- './env/.env'
mysql:
image: mysql:8.0
volumes:
- ./mysql/data:/var/lib/mysql
- ./mysql/conf:/etc/mysql/conf.d
- ./mysql/init:/docker-entrypoint-initdb.d
- /etc/localtime:/etc/localtime:ro
restart: always
env_file:
- './env/.env'
- './env/mysql.env'
redis:
image: redis:latest
restart: always
volumes:
- ./redis/data:/data
- ./redis/redis.conf:/data/redis.conf
- /etc/localtime:/etc/localtime:ro
command: redis-server /data/redis.conf
env_file:
- './env/.env'
gpt4free:
# 非星球用户请使用此镜像 xiangsx/gpt4free-ts:latest
image: gpt4freets/gpt4free-ts:v0.0.123-private
ports:
- "29001:3000"
restart: always
volumes:
- ./run:/usr/src/app/run
- /var/run/dbus/system_bus_socket:/var/run/dbus/system_bus_socket
env_file:
- 'env/.env'
- 'env/proxy.env'
- 'env/gpt4free.env'
oneapi:
image: justsong/one-api:v0.5.3
ports:
- "29000:3000"
restart: always
depends_on:
- mysql
- redis
volumes:
- ./oneapi/data:/data
- ./oneapi/log:/var
env_file:
- './env/.env'
- './env/oneapi.env'
security_opt:
- seccomp:unconfined
command: ["--log-dir", "/var/"]