ansible/roles/docker/templates/calibre-compose.yml.j2
Phil 0268e49b4d feat: implement comprehensive variable management system
- Create standardized group_vars directory structure
- Add domains.yml with centralized subdomain mappings
- Add infrastructure.yml with network, SMTP, and path config
- Reorganize vault.yml secrets by service with consistent naming
- Update 15+ Docker compose templates to use new variable structure
- Simplify playbook commands by removing --extra-vars requirement
- Replace hardcoded domains/IPs with template variables
- Standardize secret references across all services

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-06-06 15:14:47 -06:00

29 lines
679 B
Django/Jinja

---
services:
calibre-web:
image: lscr.io/linuxserver/calibre-web:latest
container_name: calibre-web
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- DOCKER_MODS=linuxserver/mods:universal-calibre #optional
- OAUTHLIB_RELAX_TOKEN_SCOPE=1 #optional
volumes:
- config:/config
- books:/books
restart: unless-stopped
labels:
glance.name: Calibre
glance.icon: si:calibreweb
glance.url: https://{{ subdomains.books }}/
glance.description: Book server
volumes:
config:
driver: local
books:
driver: local
networks:
default:
external: true
name: {{ docker.network_name }}