Merge pull request #11 from natilou/initial-version

feat: initial version
This commit is contained in:
Natalí Paura 2023-07-13 17:54:57 -03:00 committed by GitHub
commit db288e05bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 31 additions and 1 deletions

1
.gitignore vendored
View File

@ -171,3 +171,4 @@ Session.vim
# Auto-generated tag files
tags
sqlite.db

View File

@ -79,7 +79,7 @@ To initialize the database, run the server once with `--create_db`.
## Docker
The provided dockerfile makes it easy to use the software as a docker
container. The latest state of the master branch can be found as a
container. The latest state of the master branch can be found as a
[Automated build on the Docker hub](https://hub.docker.com/r/janlo/wallabag-kindle-consumer).
You can easily configure the container via the environment variables from
@ -97,3 +97,4 @@ the wallabag server.
## License
MIT

28
docker-compose.yml Normal file
View File

@ -0,0 +1,28 @@
version: "3.7"
services:
wallabag-kindle-consumer:
# TODO: Fork and tag releases.
image: ghcr.io/natilou/wallabag-kindle-consumer:master
container_name: wallabag-kindle-consumer
restart: unless-stopped
environment:
- DB_URI=sqlite:////data/sqlite.db
- DOMAIN=https://wallabag-kindle-consumer.local.adamantike.dev
- INTERFACE_HOST=0.0.0.0
- SMTP_FROM=wallabag-kindle-consumer@adamantike.dev
- SMTP_HOST=postfix
- SMTP_PORT=587
- SMTP_USER=
- SMTP_PASSWD=
# TODO: This is a custom variable added to avoid `smtp.starttls()` calls. Refactor code or fix postfix.
- SMTP_TLS=0
- TAG=kindle
- WALLABAG_HOST=https://wallabag.local.adamantike.dev
- CLIENT_ID=7_3by9zusd5sao8ssow4g4c08k8gs4o4cw4o0cwkos0kowg0sc4k
- CLIENT_SECRET=38zxawyt05k4go08s8s8w4k0s4c8k004goc08s0gc8ooks4gsg
volumes:
- .:/data
ports:
- 8080:8080