add docker support (#1)

This commit is contained in:
HappyLoLTroll 2025-04-15 21:12:27 +02:00 committed by GitHub
parent 6a790440de
commit ea0b225c65
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 64 additions and 1 deletions

View file

@ -31,6 +31,19 @@ cd govd
sh build.sh
```
## installation with Docker
first build the image using the dockerfile
```bash
docker build -t govd-bot .
```
then edit the .env file and match the DB properties with the MariaDB service environment variables in the docker-compose.yml file and run
```bash
docker compose up -d
```
## env variables
| variable | description | default |
@ -68,4 +81,4 @@ some extractors require cookies for download. to add your cookies, just insert a
- [ ] add support for telegram wehbhooks
- [ ] switch to pgsql (?)
- [ ] better API (?)
- [ ] better docs with multiple README
- [ ] better docs with multiple README