-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.example.yml
56 lines (50 loc) · 1.09 KB
/
docker-compose.example.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
version: "3"
services:
go-cqhttp:
build: ./go-cqhttp
image: sjtu-plus/go-cqhttp:1.0
volumes:
- "./go-cqhttp-data:/data"
depends_on:
- nonebot
nonebot:
build: ./qbot
expose:
- "8080"
environment:
- TZ=Asia/Shanghai
- ATTESTATION_SECRET=
volumes:
- "./qbot:/root/qbot"
webserver:
networks:
- wsgi_net
expose:
- 5000
build: ./web
group-plus:
networks:
- wsgi_net
build: ./group-plus
image: sjtu-plus/group-plus:1.0
expose:
- 5000
environment:
- GITHUB_PERSONAL_ACCESS_TOKEN=some_token # GitHub personal access token, for triggering workflow
- SECRET_KEY=some_secret_key # Django secret key
- ALLOWED_HOST=groups.sjtu.plus.localdomain # Allowed host
volumes:
- "./group-plus-data:/data"
test-caddy:
networks:
- wsgi_net
build: ./test_caddy
volumes:
- ./group-plus-data/static-files:/group-plus-static:ro
depends_on:
- group-plus
ports:
- 80:80
- 443:443
networks:
wsgi_net: