kindleear's docker image
docker-compose (recommended)
create docker-compose.yml
in a new directory
version: "3"
services:
kindleear:
image: ghcr.io/wzf03/kindleear:latest
container_name: kindleear
ports:
- 8080:8080
volumes:
- ./data:/app/data
restart: unless-stopped
crate config.json
in the data directory you created
{
// Necessary
"email": "youremail",
"smtpServer": "smtp.example.com",
"smtpPort": 587,
"smtpPassword": "password",
"domain": "http://example.com"
}
then run the container using docker-compose
docker-compose up -d
create a config.json
like above, then
docker run -d \
--name=kindleear \
-p 8080:8080 \
-v ./data:/app/data \
--restart unless-stopped \
ghcr.io/wzf03/kindleear:latest
- Use crontab to support scheduled delivery
- Also support configuration through environment variable to be compatible with older version
- Known problem: database cannot be saved after the container stop