initial commit
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
# Audiobookshelf
|
||||
|
||||
Deploy Audiobookshelf audiobook and podcast server using Docker Compose.
|
||||
|
||||
## Description
|
||||
|
||||
Audiobookshelf is a self-hosted audiobook and podcast server with mobile apps, chapter support, and progress tracking.
|
||||
|
||||
## Variables
|
||||
|
||||
### Required
|
||||
|
||||
| Variable | Description |
|
||||
|----------|-------------|
|
||||
| `audiobookshelf_libraries` | List of media library mappings with `host_path` and `container_path` |
|
||||
|
||||
### Optional
|
||||
|
||||
| Variable | Default | Description |
|
||||
|----------|---------|-------------|
|
||||
| `audiobookshelf_http_port` | `13378` | Web interface port |
|
||||
| `audiobookshelf_config_path` | `{{ app_dir }}/config` | Configuration storage |
|
||||
| `audiobookshelf_metadata_path` | `{{ app_dir }}/metadata` | Metadata cache storage |
|
||||
| `audiobookshelf_container_version` | `latest` | Audiobookshelf Docker image tag |
|
||||
|
||||
## Example
|
||||
|
||||
```yaml
|
||||
- role: patrickj.docker_apps.audiobookshelf
|
||||
vars:
|
||||
audiobookshelf_libraries:
|
||||
- host_path: /storage/audiobooks
|
||||
container_path: /audiobooks
|
||||
```
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
app_role_name: audiobookshelf
|
||||
app_name: audiobookshelf
|
||||
|
||||
# Container configuration
|
||||
audiobookshelf_container_name: "{{ app_name | default('audiobookshelf') }}"
|
||||
audiobookshelf_container_version: latest
|
||||
audiobookshelf_restart_policy: "{{ app_restart_policy }}"
|
||||
audiobookshelf_http_port: 13378
|
||||
|
||||
# Volume paths
|
||||
audiobookshelf_config_path: "{{ app_dir }}/config"
|
||||
audiobookshelf_metadata_path: "{{ app_dir }}/metadata"
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
---
|
||||
galaxy_info:
|
||||
author: Patrick Jaroszewski
|
||||
description: Deploy Audiobookshelf with Docker Compose
|
||||
license: MIT
|
||||
|
||||
dependencies:
|
||||
- role: patrickj.docker_apps.docker_compose_app
|
||||
vars:
|
||||
app_role_name: audiobookshelf
|
||||
app_subdirectories:
|
||||
- "{{ audiobookshelf_config_path }}"
|
||||
- "{{ audiobookshelf_metadata_path }}"
|
||||
app_backup_subdirectories:
|
||||
- "{{ audiobookshelf_config_path }}"
|
||||
- "{{ audiobookshelf_metadata_path }}"
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
services:
|
||||
audiobookshelf:
|
||||
image: "ghcr.io/advplyr/audiobookshelf:{{ audiobookshelf_container_version }}"
|
||||
container_name: "{{ audiobookshelf_container_name }}"
|
||||
restart: "{{ audiobookshelf_restart_policy }}"
|
||||
ports:
|
||||
- "{{ audiobookshelf_http_port }}:80"
|
||||
volumes:
|
||||
- "{{ audiobookshelf_config_path }}:/config"
|
||||
- "{{ audiobookshelf_metadata_path }}:/metadata"
|
||||
{% for item in audiobookshelf_libraries %}
|
||||
- "{{ item.host_path }}:{{ item.container_path }}"
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user