-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
83 lines (77 loc) · 1.8 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
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
version: '3'
services:
db:
image: postgres:11.1
networks:
net:
aliases:
- db
volumes:
- db:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: bMmsDmrJP9hgCNH7hECy
POSTGRES_USER: aki
POSTGRES_DB: aki
ports:
- 15000:5432
restart: always
manual-image-server:
image: pierrezemb/gostatic
networks:
net:
aliases:
- manual-image-server
volumes:
- ./aki/src/manual:/srv/http
expose:
- 8043
aki:
build: ./aki
depends_on:
- db
networks:
net:
aliases:
- aki
volumes:
- ./wait-for-it.sh:/usr/src/app/wait-for-it.sh
- ./aki/config_prod.py:/usr/src/app/config_prod.py
- ./aki/alembic.ini:/usr/src/app/alembic.ini
- ./aki/data:/usr/src/app/data
command: ["./wait-for-it.sh", "db:5432", "--", "/usr/src/app/start.sh"]
restart: always
coolq:
image: richardchien/cqhttp:4.10.1
depends_on:
- aki
networks:
net:
aliases:
- coolq
volumes:
- ./coolq:/home/user/coolq
environment:
VNC_PASSWD: 111111
COOLQ_ACCOUNT: 1647869577
FORCE_ENV: "true"
CQHTTP_HOST: "127.0.0.1"
CQHTTP_USE_HTTP: "true" # 便于排错
CQHTTP_ACCESS_TOKEN: BC9OhELAb0NJvjoqiXm6
CQHTTP_USE_WS_REVERSE: "true"
CQHTTP_WS_REVERSE_URL: ws://aki:8080/ws/
CQHTTP_WS_REVERSE_RECONNECT_INTERVAL: 1500
CQHTTP_WS_REVERSE_USE_UNIVERSAL_CLIENT: "true"
CQHTTP_THREAD_POOL_SIZE: 6
CQHTTP_SHOW_LOG_CONSOLE: "true"
CQHTTP_MAX_LOG_FILE_SIZE: 6291456
CQHTTP_MAX_LOG_FILES: 5
CQHTTP_LOG_LEVEL: info
CQHTTP_ENABLE_HEARTBEAT: "true"
ports:
- 15001:9000
restart: always
networks:
net:
driver: bridge
volumes:
db: