Skip to content
This repository has been archived by the owner on May 26, 2024. It is now read-only.

Latest commit

 

History

History
51 lines (46 loc) · 1.13 KB

README.md

File metadata and controls

51 lines (46 loc) · 1.13 KB

KindleEar-Docker

kindleear's docker image

Usage

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

docker cli

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

Note

  • 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