From 581c91162bdd5f89303b78e8b9682de850868610 Mon Sep 17 00:00:00 2001 From: Alex Szumko Date: Sat, 17 Jan 2026 22:13:39 -0500 Subject: [PATCH] Initial Calibre Commit --- calibre/.gitignore | 26 +++++++++++++++++++++ calibre/README.md | 0 calibre/docker-compose.yml | 48 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 74 insertions(+) create mode 100644 calibre/.gitignore create mode 100644 calibre/README.md create mode 100644 calibre/docker-compose.yml diff --git a/calibre/.gitignore b/calibre/.gitignore new file mode 100644 index 0000000..f497066 --- /dev/null +++ b/calibre/.gitignore @@ -0,0 +1,26 @@ +# Ignore the environment file containing sensitive data +.env + +# Ignore the config directory which may contain persistent data (e.g., Calibre database, metadata) +/app-config +/web-config +/calibre-lib +config/ + +# Ignore the Docker container image and build files +*.log +*.pid +docker-compose.override.yml + +# Ignore any other temporary or autogenerated files +*.swp +*.bak +*.tmp + +# Ignore Docker-related metadata +.docker/ + +# Ignore system files created by editors +.DS_Store +Thumbs.db + diff --git a/calibre/README.md b/calibre/README.md new file mode 100644 index 0000000..e69de29 diff --git a/calibre/docker-compose.yml b/calibre/docker-compose.yml new file mode 100644 index 0000000..069b234 --- /dev/null +++ b/calibre/docker-compose.yml @@ -0,0 +1,48 @@ +services: + app: + image: lscr.io/linuxserver/calibre:latest + container_name: calibre + #security_opt: + #- seccomp:unconfined #optional + environment: + - PUID=1000 + - PGID=1000 + - TZ=America/Detroit + #- PASSWORD=${PASSWORD} + - CLI_ARGS='--disable-web-password' + volumes: + - ./app-config:/config + - ./calibre-lib:/calibre + ports: + - 9000:8080 # Calibre desktop gui (only for reverse proxy access) + - 9001:8181 # Calibre desktop gui HTTPS + - 9002:8081 # Calibre webserver gui (needs to be enabled in gui settings first) + shm_size: "1gb" + restart: unless-stopped + + web: + image: lscr.io/linuxserver/calibre-web:latest + container_name: calibre-web + environment: + - PUID=1000 + - PGID=1000 + - TZ=America/Detroit + - WEB_USER=${USERNAME} + - WEB_PASSWORD=${PASSWORD} + #- DOCKER_MODS=linuxserver/mods:universal-calibre #optional + #- OAUTHLIB_RELAX_TOKEN_SCOPE=1 #optional + volumes: + - ./web-config:/config + - ./calibre-lib:/books + ports: + - 9004:8083 + networks: + - 'homelab' + - 'default' + restart: unless-stopped + + +networks: + homelab: + external: true +