Add docker-compose configuration for Lazylibrarian service

This commit is contained in:
2025-11-21 19:11:10 -05:00
parent 2082f887e5
commit 74db523348

View File

@@ -0,0 +1,24 @@
---
version: "2.1"
services:
lazylibrarian:
image: lscr.io/linuxserver/lazylibrarian:latest
container_name: lazylibrarian
environment:
- PUID=1000
- PGID=1006
- TZ=America/New_York
#- DOCKER_MODS=linuxserver/calibre-web:calibre|linuxserver/mods:lazylibrarian-ffmpeg #optional
volumes:
- /docker-containers/lazylibrarian:/config
- /unsorted:/downloads
- /Books:/books #optional
ports:
- 5299:5299
restart: unless-stopped
# network_mode: service:wireguard # To run through vpn service container, in turn UI port must be forwarded inside vpn. No local access unless otherwise defined
networks: # Specify network for container
- homelab
networks: # I don't know why but you have to specify the network 2x. In service, and in this tag area..
homelab:
external: true # This option causes compose to join the above network instead of making a _default one (supposedly)