-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from erichobson/audiobookshelf
Added Audiobookshelf config
- Loading branch information
Showing
5 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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} | ||
} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"] | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.