-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
33 lines (31 loc) · 1.05 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
services:
rss:
environment:
# make sure these match with where you're mounting volumes
- CONFIG_DIR=/config
- DATA_DIR=/data
- RSS_BASE_URL=${RSS_BASE_URL-http://localhost:8000}
- PRECIS_STORAGE_HANDLER=${PRECIS_STORAGE_HANDLER-tinydb}
# these variables depend on the handler(s) you want to use
# you can also configure these through the UI if you want
- OPENAI_API_KEY=${OPENAI_API_KEY}
- SLACK_API_TOKEN=${SLACK_API_TOKEN}
- JIRA_API_TOKEN=${JIRA_API_TOKEN}
- JIRA_EMAIL=${JIRA_EMAIL}
- NTFY_BASE_URL=${NTFY_BASE_URL}
- NTFY_TOPIC=${NTFY_TOPIC}
# other variables that are unlikely to change
- GITHUB_LINK=${GITHUB_LINK-https://github.com/leozqin/precis}
- PRECIS_INTERNAL_PORT=${PRECIS_INTERNAL_PORT-80}
build:
context: .
dockerfile: Dockerfile
# replace build with this if you want to pull from registry
# image: ghcr.io/leozqin/precis:latest
ports:
- 8000:80
volumes:
- ./configs:/config
- data:/data
volumes:
data: {}