wzf03 / KindleEar-Docker

kindleear's docker image
GNU General Public License v3.0
24 stars 4 forks source link

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