Initial Calibre Commit
This commit is contained in:
26
calibre/.gitignore
vendored
Normal file
26
calibre/.gitignore
vendored
Normal file
@@ -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
|
||||||
|
|
||||||
0
calibre/README.md
Normal file
0
calibre/README.md
Normal file
48
calibre/docker-compose.yml
Normal file
48
calibre/docker-compose.yml
Normal file
@@ -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
|
||||||
|
|
||||||
Reference in New Issue
Block a user