diff --git a/apps/audiobookshelf/README.md b/apps/audiobookshelf/README.md new file mode 100644 index 0000000..28f61d0 --- /dev/null +++ b/apps/audiobookshelf/README.md @@ -0,0 +1,17 @@ +## First login + +The first visit asks you to create the root account, so until you've done that only you can open the app. Open it from your Cottage dashboard, choose a username and password for the root user, then choose **Done** on the app's page so anyone you share the address with can reach it. + +## Your first library + +Open **Settings → Libraries** and choose **Add your first library**. For books, add the folder `/audiobooks`; for podcasts, make a second library of type Podcast with the folder `/podcasts`. Then use **Upload** in the top bar to add audiobook files, or search for a podcast to subscribe to. + +Add accounts for family and friends under **Settings → Users**. Each person keeps their own progress. + +## Apps + +The Audiobookshelf apps for Android and iOS ask for a server address: enter your app's full address, starting with `https://`, and sign in with your account. + +## Export your data + +Open **Settings → Backups** and choose **Run backup**, then download it. The backup holds your users, progress and library details; your audio files stay in the library folders. Cottage also keeps nightly backups of the whole app, files included. diff --git a/apps/audiobookshelf/cottage.yml b/apps/audiobookshelf/cottage.yml new file mode 100644 index 0000000..0b58a6e --- /dev/null +++ b/apps/audiobookshelf/cottage.yml @@ -0,0 +1,16 @@ +name: Audiobookshelf +tagline: Your audiobooks and podcasts, streamed from a shelf of your own. +category: Media +description: >- + Upload audiobooks and subscribe to podcasts, then listen in the browser or the + Audiobookshelf apps for Android and iOS. Progress, bookmarks and playback speed + follow you between devices, and each person gets their own account. +upstream: https://github.com/advplyr/audiobookshelf +website: https://www.audiobookshelf.org +license: GPL-3.0-only +images: + - ref: ghcr.io/advplyr/audiobookshelf:2.38.0 + digest: sha256:60064c23f32fd9099fd39e82c5132c51701d1221135bbca04cd099b589e1edc3 +mobile_apps: true +# The first visit creates the root (admin) account. +first_visit_claims_admin: true diff --git a/apps/audiobookshelf/icon.svg b/apps/audiobookshelf/icon.svg new file mode 100644 index 0000000..c33a53e --- /dev/null +++ b/apps/audiobookshelf/icon.svg @@ -0,0 +1 @@ + diff --git a/apps/audiobookshelf/template.yml b/apps/audiobookshelf/template.yml new file mode 100644 index 0000000..bf56bd3 --- /dev/null +++ b/apps/audiobookshelf/template.yml @@ -0,0 +1,35 @@ +# Audiobookshelf: an audiobook and podcast server with its own apps. +x-harbor: + slug: audiobookshelf + name: Audiobookshelf + description: Self-hosted audiobook and podcast server. + version: "2.38.0-c1" + primary: { service: app, port: 13378 } + health_path: /healthcheck + default_resources: { cpu_millis: 500, memory_mb: 512, storage_mb: 20480 } + min_resources: { cpu_millis: 250, memory_mb: 256, storage_mb: 2048 } + volumes: + config: { uid: 1000, gid: 1000, mode: "0750" } + metadata: { uid: 1000, gid: 1000, mode: "0750" } + audiobooks: { uid: 1000, gid: 1000, mode: "0750" } + podcasts: { uid: 1000, gid: 1000, mode: "0750" } + +services: + app: + image: ghcr.io/advplyr/audiobookshelf:2.38.0 + user: "1000:1000" + environment: + PORT: "13378" + # Serve the app at the root of its address rather than under /audiobookshelf. + ROUTER_BASE_PATH: "" + volumes: + - "config:/config" + - "metadata:/metadata" + - "audiobooks:/audiobooks" + - "podcasts:/podcasts" + +volumes: + config: + metadata: + audiobooks: + podcasts: