-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
52 lines (50 loc) · 1.54 KB
/
Copy pathdocker-compose.yaml
File metadata and controls
52 lines (50 loc) · 1.54 KB
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
# export SLACK_BOT_TOKEN=xxxx
# export SLACK_APP_TOKEN=xxxx
# export GITLAB_TOKEN=xxxx
# export OPENAI_API_KEY=xxxx
# export WEB_HOST=https://192.168.1.100 # IP or domain for HTTPS
# export WEB_CLIENT_SECRET=xxxx # Slack OAuth client secret
# export WEB_SESSION_SECRET=xxxx # openssl rand -hex 32
#
# docker-compose --project-name reportbot up
# docker-compose --project-name reportbot down
#
# To override config files, create a docker-compose.override.yaml file:
# services:
# reportbot:
# volumes:
# - ./my-custom-config.yaml:/app/config.yaml:ro
# - ./my-custom-glossary.yaml:/app/llm_glossary.yaml
services:
caddy:
image: caddy:2-alpine
restart: unless-stopped
ports:
- "80:80"
- "443:443"
volumes:
- ./Caddyfile:/etc/caddy/Caddyfile:ro
- ./certs:/certs:ro
- caddy-data:/data
- caddy-config:/config
reportbot:
container_name: reportbot
image: reportbot
expose:
- "8088"
environment:
SLACK_BOT_TOKEN: "${SLACK_BOT_TOKEN}"
SLACK_APP_TOKEN: "${SLACK_APP_TOKEN}"
GITLAB_TOKEN: "${GITLAB_TOKEN}"
OPENAI_API_KEY: "${OPENAI_API_KEY}"
WEB_CLIENT_SECRET: "${WEB_CLIENT_SECRET}"
WEB_SESSION_SECRET: "${WEB_SESSION_SECRET}"
volumes:
- ./reportbot-data:/app/data
- ./reportbot-reports:/app/reports
- ./llm_glossary.yaml:/app/llm_glossary.yaml
- ./llm_classification_guide.md:/app/llm_classification_guide.md
- ./config.yaml:/app/config.yaml:ro
volumes:
caddy-data:
caddy-config: