add audiobookshelf
All checks were successful
Deploy Containers / Prepare (push) Successful in 29s

This commit is contained in:
2026-02-16 14:57:33 -05:00
parent a04fc5432b
commit f9ff703312
2 changed files with 30 additions and 0 deletions

View File

@@ -78,6 +78,9 @@
- name: Deploy Docs - name: Deploy Docs
import_tasks: tasks/docs.yml import_tasks: tasks/docs.yml
tags: docs_deploy tags: docs_deploy
- name: Deploy Audiobookshelf
import_tasks: tasks/audiobookshelf.yml
tags: audiobookshelf_deploy
- name: Deploy Gitea Runner - name: Deploy Gitea Runner
import_tasks: tasks/runner.yml import_tasks: tasks/runner.yml
tags: runner_deploy tags: runner_deploy

27
tasks/audiobookshelf.yml Normal file
View File

@@ -0,0 +1,27 @@
---
- name: Deploy AudioBookshelf
include_role:
name: docker
vars:
name: audiobookshelf
directories:
- "{{ data_dir }}/audiobookshelf"
- "{{ data_dir }}/audiobookshelf/config"
- "{{ data_dir }}/audiobookshelf/metadata"
image:
name: ghcr.io/advplyr/audiobookshelf
tag: latest
networks:
- name: homelab
volumes:
- "{{ media_path }}/Books/Audiobooks:/audiobooks"
- "{{ data_dir }}/audiobookshelf/config:/config"
- "{{ data_dir }}/audiobookshelf/metadata:/metadata"
env:
TZ: "{{ TZ }}"
labels:
traefik.enable: "true"
traefik.http.routers.audiobookshelf.rule: Host(`abooks.fntz.net`)
traefik.http.routers.audiobookshelf.entrypoints: webSecure
traefik.http.routers.audiobookshelf.tls.certresolver: letsencrypt
traefik.http.services.audiobookshelf.loadbalancer.server.port: "80"