ansible/roles/docker/templates/audiobookshelf-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

31 lines
720 B
Django/Jinja

services:
audiobookshelf:
image: ghcr.io/advplyr/audiobookshelf:latest
volumes:
- audiobooks:/audiobooks
- podcasts:/podcasts
- config:/config
- metadata:/metadata
environment:
- TZ=America/Denver
- DISABLE_SSRF_REQUEST_FILTER=1
extra_hosts:
- '{{ subdomains.auth }}:172.20.0.5'
labels:
glance.name: Audiobookshelf
glance.icon: si:audiobookshelf
glance.url: https://{{ subdomains.audio }}/
glance.description: Audio book server
volumes:
audiobooks:
driver: local
podcasts:
driver: local
config:
driver: local
metadata:
driver: local
networks:
default:
external: true
name: {{ docker.network_name }}