Skip to content

Commit

Permalink
Merge pull request #12 from erichobson/audiobookshelf
Browse files Browse the repository at this point in the history
Added Audiobookshelf config
  • Loading branch information
azukaar authored Aug 3, 2023
2 parents 0cf11e2 + 2d0c135 commit bcef020
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 0 deletions.
69 changes: 69 additions & 0 deletions servapps/Audiobookshelf/cosmos-compose.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@

{
"cosmos-installer": {
"form": [
{
"name": "audiobooks",
"label": "Where do you store your audiobooks?",
"initialValue": "{DefaultDataPath}/audiobooks",
"type": "text"
},
{
"name": "adminOnly",
"label": "Do you want to make this service admin only?",
"initialValue": false,
"type": "checkbox"
}
]
},
"minVersion": "0.9.6",
"services": {
"{ServiceName}": {
"image": "ghcr.io/advplyr/audiobookshelf:latest",
"container_name": "{ServiceName}",
"restart": "unless-stopped",
"labels": {
"cosmos-force-network-secured": "true",
"cosmos-auto-update": "true",
"cosmos-icon": "https://azukaar.github.io/cosmos-servapps-official/servapps/Audiobookshelf/icon.png"
},
"volumes": [
{
"source": "{ServiceName}-config",
"target": "/config",
"type": "volume"
},
{
"source": "{ServiceName}-metadata",
"target": "/metadata",
"type": "volume"
},
{
"source": "{Context.audiobooks}",
"target": "/audiobooks",
"type": "bind"
}
],
"routes": [
{
"name": "{ServiceName}",
"description": "Expose {ServiceName} to the web",
"useHost": true,
"target": "http://{ServiceName}:80",
"mode": "SERVAPP",
"CORSOrigin": "*",
"Timeout": 14400000,
"ThrottlePerMinute": 12000,
"BlockCommonBots": true,
"SmartShield": {
"Enabled": true
},
"AuthEnabled": true
{if Context.adminOnly}
, "AuthAdmin": true
{/if}
}
]
}
}
}
9 changes: 9 additions & 0 deletions servapps/Audiobookshelf/description.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"name": "Audiobookshelf",
"longDescription": "<p>Audiobookshelf is an open-source, self-hosted, audiobook and podcast server. It features an Android and iOS app for streaming your library, multi-user support, storing progress per user, and syncing across devices.</p><p>It also includes various audiobook management services like metadata fetching, chapter editing tools, and media merging.</p>",
"description": "Audiobookshelf is a self-hosted audiobook and podcast server.",
"tags": ["e-book", "library", "audiobook", "open-source", "management", "audiobookshelf", "docker", "linux", "ios", "android"],
"repository": "https://github.com/advplyr/audiobookshelf",
"image": "https://hub.docker.com/r/advplyr/audiobookshelf",
"supported_architectures": ["amd64", "arm64"]
}
Binary file added servapps/Audiobookshelf/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added servapps/Audiobookshelf/screenshots/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added servapps/Audiobookshelf/screenshots/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit bcef020

Please sign in to comment.