49 lines
1.2 KiB
YAML
49 lines
1.2 KiB
YAML
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
|
|
|